pem证书转pfx
在Windows或Linux上运行以下命令生成.pfx文件:
openssl pkcs12 -export -out iiscert.pfx -inkey private-cert.key -in public-cert.pem
然后在IIS上通过.pfx文件导入证书。
在Windows或Linux上运行以下命令生成.pfx文件:
openssl pkcs12 -export -out iiscert.pfx -inkey private-cert.key -in public-cert.pem
然后在IIS上通过.pfx文件导入证书。
编译
go build hello.go