搜尋此網誌

2015年7月21日 星期二

openssl產生自我憑證

1.產生私鑰
openssl genrsa -out ca.key 2048

2.產生 CSR
openssl req -new -key ca.key -out ca.csr

3.產生自我簽署的金鑰
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt

4.httpd-ssl.conf


沒有留言:

張貼留言