Hi James,

OpenXPKI uses a Certificate Identifier to reference a certificate.

The OpenXPKI Certificate Identifier is the URI encoded Base64 representation of 
the DER encoded certificate.

The identifier can be computed via
openxpkiadm certificate id --file FILE

An alternative way top compute the Certificate Identifier from a PEM encoded 
certificate is
openssl x509 -in FILE -inform pem -outform der | openssl dgst -sha1 -binary | 
openssl enc -a -e | tr "+/" "-_" | tr -d "="`

HTH,

Martin



_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to