Skip to content

Commit 0f75198

Browse files
committed
Update RayCluster CA certificate common and issuer names
1 parent 46d4bab commit 0f75198

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/controllers/raycluster_controller.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,10 @@ func generateCACertificate() ([]byte, []byte, error) {
422422
cert := &x509.Certificate{
423423
SerialNumber: serialNumber,
424424
Subject: pkix.Name{
425-
Organization: []string{"OpenShift AI"},
425+
CommonName: "root-ca",
426+
},
427+
Issuer: pkix.Name{
428+
CommonName: "root-ca",
426429
},
427430
NotBefore: time.Now(),
428431
NotAfter: time.Now().AddDate(1, 0, 0),

0 commit comments

Comments
 (0)