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

cer-cert Format not readble #88

Open
amenJb opened this issue Nov 29, 2023 · 2 comments
Open

cer-cert Format not readble #88

amenJb opened this issue Nov 29, 2023 · 2 comments

Comments

@amenJb
Copy link

amenJb commented Nov 29, 2023

Hi guys,

First thx for that nice exporter it makes my Cert monitoring much easier.

One think, is it possible make it able to read cer and cert format.

Even i see in the code :
extensions = []string{".pem", ".crt", ".cert", ".cer", ".pfx"}

But i get always output error :
glog.Warningf("Couldn't find a CERTIFICATE block in %s", path)

As a workaround i convert cer and cert certificates to pem

Thx guys.

@amimof
Copy link
Owner

amimof commented Dec 19, 2023

Hi @amenJb Thank you for the feedback, I appreciate it.

Can you provide the content of the files?

@amenJb
Copy link
Author

amenJb commented Dec 22, 2023

Hi @amimof, if you mean the script file, i speak about "exporter.go" line 19, and the error in line 147.

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

2 participants