且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GCE上的自签名SSL证书-'无法解析SSL证书'

更新时间:2022-04-30 03:46:55

gcloud compute ssl-certificates create mysertificatee \
--certificate mySite.com.csr \
--private-key mySite.com.key

--certificate的参数应为证书,即mySite.com.pem.取而代之的是CSR mySite.com.csr.

The argument for --certificate should be the certificate, i.e. mySite.com.pem. Instead the CSR mySite.com.csr was given.