-----开始证书----- MIIE ... 1Ozy -----证书结束----- -----开始 RSA 私钥----- Proc-Type:4,加密 DEK-信息:DES-EDE3-CBC,0950752701CB74AF
奥马尔德 ... hWh8GKd -----结束 RSA 私钥-----
最佳答案
我回答了我的问题
Openssl> req -x509 -days 365 -newkey rsa:2048 -keyout any.pem -out any.pem
(密码短语= secret )
Openssl> req -new -key -any.pem -out server.csr
Openssl> x509 -req -in server.csr -signkey any.pem -out rootcert.pem
关于c++ - 我如何使用 openssl 更新过期或创建自签名证书 key any.pem Poco c++,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45423486/