반응형
openssl 설정 key, csr, crt 생성
key 생성
openssl genrsa -des3 -out localhost.key 1024
key 상태확인
openssl rsa -noout -text -in localhost.key
csr생성
openssl req -new -days 365 -key localhost.key -out localhost.csr
csr확인
openssl req -noout -text -in localhost.csr
crt생성
openssl x509 -req -days 365 -in localhost.csr -signkey localhost.key -out localhost.crt
반응형