This commit is contained in:
anlicheng 2026-03-24 21:56:59 +08:00
parent 95ff0dcab9
commit adbced1cad

View File

@ -0,0 +1,5 @@
# 提取公钥 -> 转换为 RSA 原始格式 (PKCS#1) -> 转为 DER 二进制 -> 计算哈希
openssl x509 -in cert.pem -pubkey -noout | \
openssl rsa -pubin -RSAPublicKey_out -outform DER | \
openssl dgst -sha256 -binary | \
base64