mac下生成证书

a) openssl req -new -text -out server.req
- Fill in options appropriate for your use
- NOTE: Common Name is name of your server
b) openssl rsa -in privkey.pem -out server.key
- PassPhrase is phrase entered above
c) rm privkey.pem
d) openssl req -x509 -in server.req -text -key server.key -out server.crt

你可能感兴趣的:(C++,c,C#)