Skip to content

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

@csabka

Description

@csabka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions