We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffed123 commit 34be71eCopy full SHA for 34be71e
scripts/create-issuer-mdl-cert.sh
@@ -67,3 +67,12 @@ echo ${DER}
67
echo ${KEY}
68
echo ${PUB_JWK}
69
echo ${JWK}
70
+
71
+echo "== Sanity check =="
72
+openssl x509 -inform der -in ${DER} -out sanity.crt.pem
73
74
+openssl x509 -in sanity.crt.pem -pubkey -noout > sanity_cert_pubkey.pem
75
+openssl pkey -in ${KEY} -pubout > sanity_key_pubkey.pem
76
77
+diff sanity_cert_pubkey.pem sanity_key_pubkey.pem
78
+echo "OK"
0 commit comments