问题描述
尽管我已经在Window客户端证书中导入了证书,但我尝试使用swift XMPP client使用客户端证书进行身份验证,但是无法选择证书。
从客户端收到以下消息,单击ok
继续退出窗口证书对话框。
解决方法
您需要先在操作系统中安装证书,然后列表会显示系统中已安装的证书。
要安装证书,请创建pfx证书格式,然后双击以安装证书。
创建PFX
openssl pkcs12 -export -out my_certs.pfx -inkey example.com.key -in example.bundle.pem -certfile ca.pem