- Head to the Raw Version of the report
- Go to the SSL section
2A. Use the 'cert' section to retrieve fingerprints of the certificate (SHA1/MD5 of the certificate in DER format)
2B. Use the 'chain' section to retrieve the certificate in PEM (might require some form of cleaning before its usable)
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem
openssl x509 -text -noout -in certificate.pem
Create a .cer file for the certificate [unverified]
openssl x509 -in CensysPEM.pem -outform DER -out RandomCertInDER.cer
Convert the certificate to DER form (if it isn't in DER form) then calculate the hash:
openssl x509 -in certificateInPem.pem -outform DER -out certificateInDer.cer
sha1sum certificateInDer.cer