JDP 發表於 2014-5-5 13:20:26

利用 openSSL 產生 FTP 用的 SSL 憑證


[*]Make a new ssl private key:

[*]Generate a new unencrypted rsa private key in PEM format:   
openssl genrsa -out privkey.pem 1024
[*]To make a self-signed certificate:

[*]Create a certificate signing request (CSR) using your rsa private key:
openssl req -new -key privkey.pem -out certreq.csr
[*]Self-sign your CSR with your own private key:   
openssl x509 -req -days 3650 -in certreq.csr -signkey privkey.pem -out newcert.pem

Reference: http://www.devsec.org/info/ssl-cert.html
頁: [1]
查看完整版本: 利用 openSSL 產生 FTP 用的 SSL 憑證