【发布时间】:2020-07-03 05:51:25
【问题描述】:
在 Burp Suite 中,我们可以从 Project Options -> SSL 导入带有特定主机名密码的 PKCS#12 文件。
我尝试使用以下命令手动导出块和密钥文件,然后使用 tls.LoadX509KeyPair() 将它们传递给我在 golang 中的 http 客户端。但是在发送任何请求时,我都会收到remote error: tls: handshake failure。
这些是我使用的命令:
openssl pkcs12 -in cert.p12 -clcerts -nokeys -out usercert.pem
openssl pkcs12 -in cert.p12 -nocerts -out userkey.pem -nodes
我错过了什么?
【问题讨论】:
标签: go ssl certificate pkcs#12