Starting ATS Diagnostics
nscurl --ats-diagnostics --verbose https://www.baidu.com
服务端给的是xxx.pfx文件,mac上用终端输入下面的命令:
openssl pkcs12 -in server.pfx -nodes -out server.pem
openssl rsa -in server.pem -out server.key
openssl x509 -in server.pem -out server.crt
crt格式证书转换cer
openssl x509 -in server.crt -out imcer.cer -outform der
(server.pfx是IIS导出的文件,利用openssl导出server.key和server.crt)