3. 사설 인증서를 만들고 생성된 파일까지 확인한다.
root@secu-VirtualBox:/etc/apache2/ssl# cp server.key server.key.origin
root@secu-VirtualBox:/etc/apache2/ssl# openssl rsa -in server.key.origin -out server.key
Enter pass phrase for server.key.origin:
writing RSA key
root@secu-VirtualBox:/etc/apache2/ssl# openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Signature ok
subject=C = KR, ST = Seoul, L = Gangseo, O = secu, CN = secu
Getting Private key