无法在Swift XMPP客户端中导入客户端证书

时间:2020-08-18 13:36:09

标签: xmpp

尽管我已经在Window客户端证书中导入了证书,但我尝试使用swift XMPP client使用客户端证书进行身份验证,但是无法选择证书。

从客户端收到以下消息,单击ok继续退出窗口证书对话框。

enter image description here

1 个答案:

答案 0 :(得分:1)

您需要先在操作系统中安装证书,然后列表会显示系统中已安装的证书。

要安装证书,请创建pfx证书格式,然后双击以安装证书。

创建PFX

openssl pkcs12 -export -out my_certs.pfx -inkey example.com.key -in example.bundle.pem -certfile ca.pem

enter image description here

相关问题