Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Add verbose output to troubleshoot certificate chain loading #6

@BryceDFisher

Description

@BryceDFisher

In order to better troubleshoot certificate chain issues, it would be very helpful to have verbose output that states which certificates are being loaded as roots and which are being loaded as intermediaries. Logging the Subject would be sufficient for this purpose.

for _, cert := range certs[1:] {

for _, cert := range bundledCerts {

It would also be useful to log the filepath being used to load root certs.

bundledCerts, err := cryptoutil.ReadCertificateFile(certPath)

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