nginx_CA 인증서 생 성
723 단어 Nginx 는 포기 할 때 까지
// , 、
#
openssl genrsa -out server.key 1024
#
openssl rsa -in server.key -pubout -out server.pem
// , CA
# CA
openssl genrsa -out ca.key 1024
#X.509 Certificate Signing Request (CSR) Management. ca
# 。Common Name
openssl req -new -key ca.key -out ca.csr
#X.509 Certificate Data Management. ca
openssl x509 -req -in ca.csr -signkey ca.key -out ca.crt
// ,
# CA , CSR
openssl req -new -key server.key -out server.csr
# CA , CA , CA
openssl x509 -req -CA ca.crt -CAkey ca.key -CAcreateserial -in server.csr -out server.cr