[Centos7] Apache SSL 인증서 비밀번호 검증 없애기
페이지 정보

본문
$ service httpd startRedirecting to /bin/systemctl start httpd.serviceEnter TLS private key passphrase for 127.0.0.1:443 (RSA) :
지난 시간에 위와 같이 Apache에 SSL 설정을 하여 HTTPS 프로토콜로 웹 서비스를 제공할 수 있도록 하였다. 위 설정은 한가지 문제가 발생하는데 서비스를 재시작하거나 리눅스를 재부팅하면 매번 구동할 때마다 비밀번호를 입력해주어야 한다. 이런 경우를 대비하여 비밀키에 비밀번호를 제거해보자.
# SSL 인증서 파일 디렉토리로 이동$ cd /etc/httpd/ssl # 키 파일 백업$ cp playground.key playground.key.bak # 키 비밀번호 제거$ openssl rsa -in playground.key -out playground.keyEnter pass phrase for playground.key:writing RSA key
# Apache 재시작$ service httpd restartRedirecting to /bin/systemctl restart httpd.service
Apache 재시작 시 비밀번호를 물어보지 않는다.
추천0 비추천0
- 다음글[Linux] OS별 network 재시작 방법 25.07.22
댓글목록
등록된 댓글이 없습니다.