1.生成私鑰:
openssl genrsa -out server.key 2048
2.生成證書(shū)
openssl req -new -x509 -days 3650 -subj "/C=GB/L=China/O=Golanggrpc/CN=localhost" -key server.key -out server.crt
Golang開(kāi)發(fā)培訓(xùn),軟件開(kāi)發(fā)接單:2695827051
1.生成私鑰:
openssl genrsa -out server.key 2048
2.生成證書(shū)
openssl req -new -x509 -days 3650 -subj "/C=GB/L=China/O=Golanggrpc/CN=localhost" -key server.key -out server.crt
Golang開(kāi)發(fā)培訓(xùn),軟件開(kāi)發(fā)接單:2695827051