Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verbose output to troubleshoot certificate chain loading #6

Open
BryceDFisher opened this issue Aug 31, 2022 · 0 comments
Open

Comments

@BryceDFisher
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant