openssl pkey -in ssl_key.key -pubout -outform pem | sha256sum
openssl x509 -in ssl_cert.crt -pubkey -noout -outform pem | sha256sum
check if certificate and key match
Leave a reply
openssl pkey -in ssl_key.key -pubout -outform pem | sha256sum
openssl x509 -in ssl_cert.crt -pubkey -noout -outform pem | sha256sum