Skip to content

Root CA is not added to CertificateRequest status although configured #58

@hoffimar

Description

@hoffimar

I am not able to get the root CA of the certificate chain in the status of the CertificateRequest CR. The length of the root CA is 0 here.
I tested this with order types ssl_securesite_flex and private_ssl_flex, and the check in

return cert.CheckSignatureFrom(cert) == nil
returned an https://pkg.go.dev/crypto/x509#InsecureAlgorithmError for the root CA (DigiCert G1).
My proposal would be to use a different check: bytes.Equal(crt.RawIssuer, crt.RawSubject).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions