我的 git 客户声称
error: Peer's Certificate issuer is not recognized.
Run Code Online (Sandbox Code Playgroud)
这意味着它无法在全局系统密钥环中找到相应的 ssl 服务器密钥。我想通过查看gentoo linux 系统上所有系统范围内可用的 ssl 密钥列表来检查这一点。我怎样才能得到这个列表?
从下面的命令只能为第一个深度证书生成 Base64 引脚。但是需要为所有深度的证书生成pin。
openssl s_client -servername example.com -connect example.com:443 -showcerts
| openssl x509 -pubkey -noout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
Run Code Online (Sandbox Code Playgroud)
只给一把钥匙而不是三把,
cUPcTAZWKaASuYWhhneDttWpY3oBAkE3h2+soZS7sWs=
Run Code Online (Sandbox Code Playgroud)
那么,我们如何生成所有三个级别的引脚呢?