1.生成私钥:
openssl genrsa -out server.key 2048
2.生成证书
openssl req -new -x509 -days 3650 -subj "/C=GB/L=China/O=Golanggrpc/CN=localhost" -key server.key -out server.crt
Golang开发培训,软件开发接单:2695827051
1.生成私钥:
openssl genrsa -out server.key 2048
2.生成证书
openssl req -new -x509 -days 3650 -subj "/C=GB/L=China/O=Golanggrpc/CN=localhost" -key server.key -out server.crt
Golang开发培训,软件开发接单:2695827051