FXSend/MobsetHttp/Openssl生成证书.txt
2025-02-28 17:05:50 +08:00

9 lines
368 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

方法1
openssl req -newkey rsa:2048 -nodes -keyout rsa_private.pem -x509 -days 36500 -out cert.crt -subj "/C=CN/ST=GD/L=GZ/O=mobset/OU=dev/CN=mobset.com/emailAddress=800@mobset.com"
方法2
openssl genrsa -out ca-key.pem 2048
openssl req -new -out ca-req.csr -key ca-key.pem
先将openssl.cfg复制为openssl.cnf拷到提示出错的文件夹C:\Program Files\Common Files\SSL