Skip to content

fangwendong/grpcDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

自定义服务器自签名证书


# 生成私钥
openssl genrsa -out server.key 2048

# 生成公钥。 里面的 serverName 填成自己的。 在go里是serverName
openssl req -x509 -new -nodes -key server.key -subj "/CN=severName" -days 5000 -out server.pem

```# grpcDemo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages