기본적으로 SSL 인증서를 추가하게되면 아파치를 가동 시 비밀번호를 요구한다.
[root]# /usr/local/httpd/bin/apachectl start
Apache/2.2.34 mod_ssl/2.2.34 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.
Server www.test.or.kr:443 (RSA)
Enter pass phrase:
OK: Pass Phrase Dialog successful
[root]#
위와 같이 서버를 가동 시 항상 비밀번호를 요구하기 때문에 재가동 시 번거로울 수 있다.
따라서 해당 인증서를 openssl 키 파일로 교체하여 비밀번호를 없애려면 아래와 같이 명령어를 친 후
새로 생긴 key 파일로 교체하고 다시 서버를 재가동 한다.
openssl rsa -in key.pem -out new_key.pem