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

New idea: Ability to see ASN1 parse TIME format in certification metrics #197

Open
csabka opened this issue Oct 5, 2024 · 0 comments
Open

Comments

@csabka
Copy link

csabka commented Oct 5, 2024

As far as I know there are two TIME implementation in certification for Not After and Not Before:

  1. UTCTIME
  2. GENERALIZEDTIME
    • some client library cannot handle them well

e.g:

UTCTIME         :430507144724Z     # (YYmmddHHMMSS+ Zulu)
GENERALIZEDTIME :21171216005944Z   # (YYYYmmddHHMMSS+Zulu)

to test it:
openssl asn1parse -in cert.pem | grep TIME

If a certificate created with GENERALIZEDTIME, libraries (which understand it) convert it to the same Not After / Not Before time format as UTCTIME' and hide it what is in the background.
If other library (which does not understand it) trying to connect to/with will not working but it seems like everything is correct.

E.g after replacing a certification and the old and the new one have different TIME implementation then, you just realize that some
clients are not working but in background (if you are not an expert) you wouldn't know what has been changed since that time.

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