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

[RFE] Subject of TLS certificate and of Issuer certificate #892

Closed
lapo-luchini opened this issue Mar 10, 2022 · 2 comments
Closed

[RFE] Subject of TLS certificate and of Issuer certificate #892

lapo-luchini opened this issue Mar 10, 2022 · 2 comments

Comments

@lapo-luchini
Copy link
Contributor

Host operating system: output of uname -a

FreeBSD $hostname 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021 [email protected]:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

blackbox_exporter version: output of blackbox_exporter --version

% pkg info -x blackbox
blackbox_exporter-0.17.0_1
% blackbox_exporter --version
blackbox_exporter, version  (branch: , revision: )
  build user:
  build date:
  go version:       go1.16.7

What did you expect to see?

probe_ssl_earliest_cert_expiry 1.650999936e+09
probe_tls_version_info{version="TLS 1.3"} 1
probe_tls_certificate_info{subject="www.domain.test",issuer="R3",subjectalternative="*.domain.test,192.168.0.1,test.domain.test"} 1

What did you see instead?

probe_ssl_earliest_cert_expiry 1.650999936e+09
probe_tls_version_info{version="TLS 1.3"} 1
electron0zero pushed a commit that referenced this issue Aug 9, 2022
Add left certificate's "subject", "issuer", "subjectalternative" labels in `probe_tls_certificate_info` metric.

See relevent discussion in #892 

Co-authored-by: Daniel Jolly <[email protected]>
@SashaZezulinsky
Copy link

SashaZezulinsky commented Sep 19, 2022

@djcode @lapo-luchini @electron0zero @roidelapluie Guys, need a release of a blackbox_exporter that contains this change cc533f1. Thank you.

@electron0zero
Copy link
Member

we build BBE on each merge in master, you can find most recent build at: https://app.circleci.com/pipelines/github/prometheus/blackbox_exporter/769/workflows/291b9405-ac0e-438c-9db2-64660660b57e/jobs/2531/artifacts

docker images for master builds can be found at: https://quay.io/repository/prometheus/blackbox-exporter?tab=tags&tag=master

another alternative is build locally: https://github.com/prometheus/blackbox_exporter#building-the-software

Till we get around cutting a new release, you can use these :)

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

3 participants