1、介绍
在Azure云上导入证书时只能导入pfx证书,所以需要我们将证书生成pfx,在进行导入
2、导出pfx证书
我们需要用到crt/key这两个证书文件,在linux上执行命令
openssl pkcs12 -export -out website-test.sllme.com.pfx -inkey website-test.sllme.com.key -in website-test.sllme.com_bundle.crt
在执行生成pfx证书的时候,需要输入一个密码,这个密码需要记住,在导入pfx证书到azure云的时候,需要用到
3、上传证书到Azure云的Application Gateway
然后就可以在Azure上面直接使用了。