You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of my certificate management process, I have to periodically review how a certificate was originally requested before submitting a renewal.
I have recently migrated from the blackbox_exporter to using Telegraf's x509_cert input as it provides almost all of the information I need out-of -the box.
The only thing that is missing is the key length for certificates. I have to revert to using a bash script to check for older certificate formats (eg. RSA2048). if the x509_cert input could return the key length, it would reduce the number of places I would have to check to validate a certificate's encryption type & key length meets requirements.
I currently have a bash script which pulls back the key length using openssl's s_client, and parses out the info. I do not work for influxdata or Bell Canada.
Use Case
As part of my certificate management process, I have to periodically review how a certificate was originally requested before submitting a renewal.
I have recently migrated from the blackbox_exporter to using Telegraf's x509_cert input as it provides almost all of the information I need out-of -the box.
The only thing that is missing is the key length for certificates. I have to revert to using a bash script to check for older certificate formats (eg. RSA2048). if the x509_cert input could return the key length, it would reduce the number of places I would have to check to validate a certificate's encryption type & key length meets requirements.
I currently have a bash script which pulls back the key length using openssl's s_client, and parses out the info. I do not work for influxdata or Bell Canada.
influxdata: Elliptic Curve Public key:
Bell Canada, RSA 2048 bit Public key:
Expected behavior
As part of the information returned, 1 additional field, public key length is returned. For example (quick mock-up):
Actual behavior
public_key_length is not returned by the x509_cert input.
Additional info
No response
The text was updated successfully, but these errors were encountered: