Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令创建证书 #3

Open
yfsoftcom opened this issue Jun 3, 2020 · 1 comment
Open

命令创建证书 #3

yfsoftcom opened this issue Jun 3, 2020 · 1 comment

Comments

@yfsoftcom
Copy link
Contributor

yfsoftcom commented Jun 3, 2020

openssl genrsa -out privatekey.pem 1024
openssl req -new -key privatekey.pem -out certrequest.csr -subj "/C=CN/ST=JiangSu/L=YZ/O=*.yunplus.io/OU=yunplus.io/CN=api.yunplus.io/[email protected]"
openssl x509 -req -in certrequest.csr -signkey privatekey.pem -days 5480 -out certificate.pem
@yfsoftcom
Copy link
Contributor Author

可能出现 RNG 的问题,使用下面方法可以解决
openssl/openssl#7754 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant