개발/ETC
Apache SSL 인증서 등록하기
신매력
2018. 1. 19. 20:39
1. 인증서 파일(cert.pem, Wild-Chain.pem)과 새 인증서에 대한 private key를 준비한다.
cert.pem = cert.pem |
---|
2. 인증서 파일들을 원하는 서버로 옮긴다.
아파치 설정 파일 확인 (../apache/httpd.conf)해서 ssl 설정 파일(../apache/extra/httpd-ssl.conf)을 찾는다.
3. ssl 설정 파일에서 인증서 경로 설정
SSLCertificateFile "/home/apps/apache/conf/extra/certs/cert.pem" |
---|
4. Apache 재시작
5. 인증서 만료날짜 확인
1) 크롬 브라우저에서 테스트 할 URL을 호출한다.
2) 검사(F12)의 Security > Overview > View certificate 버튼 클릭
3) 인증서 날짜 확인