How to get the certificate ID / fingerprint of an x.509 certificate using node-forge? Update I need this for AWS IoT. I’ve been investigating and ended up that AWS probably uses some fingerprint algorithm to extract the certificate ID. It is not baked into the cert, probably the public key is used as a base for the fingerprint. Update 2