📜  带有 pfx 文件的 nginx ssl 配置 ubuntu - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:47.351000             🧑  作者: Mango

代码示例1
## Code used by anowar vai for abbvie
## See /home/bs331/Documets/useful-commts

openssl pkcs12 -in client_ssl.pfx -out client_ssl.pem -clcerts
openssl pkcs12 -in client_ssl.pfx -out root.pem -cacerts

openssl pkcs12 -in domain.pfx -out domain.pem -clcerts

openssl pkcs12 -export -in file.pfx  -out domain.pem -password pass:hidden-password

openssl pkcs12 -in domain.pfx -nocerts -out domain.key