33 lines
898 B
Plaintext
33 lines
898 B
Plaintext
1. gogetssl.com 에서 new order 생성
|
|
2. apply할 때 csr을 만들기 -> csr, key 생성됨 (chocomae.key 로 파일 저장)
|
|
3. Renew 선택하고 CSR 입력
|
|
4. e-mail validation 하면 인증 완료 메일 날아옴 -> crt, ca-bundle 파일 저장
|
|
|
|
폴더 : /etc/ssl/chocomae/날짜/
|
|
www_chocomae_com.key
|
|
www_chocomae_com.crt
|
|
www_chocomae_com.ca-bundle
|
|
|
|
|
|
폴더 : /etc/httpd/conf.d/ssl.conf
|
|
|
|
SSLCertificateFile /etc/ssl/ssl.crt/chocomae.crt
|
|
-> /etc/ssl/chocomae/191123/www_chocomae_com.crt
|
|
|
|
SSLCertificateKeyFile /etc/ssl/ssl.key/chocomae.key
|
|
-> /etc/ssl/chocomae/191123/www_chocomae_com.key
|
|
|
|
SSLCertificateChainFile /etc/ssl/ssl.crt/chocomae.ca-bundle
|
|
-> /etc/ssl/chocomae/191123/www_chocomae_com.ca-bundle
|
|
|
|
systemctl restart httpd
|
|
systemctl restart httpd.service
|
|
|
|
|
|
|
|
|
|
|
|
(옛날 방식)
|
|
chocomae.crt 파일 교체
|
|
chocomae.key 파일 교체
|
|
chocomae.ca-bundle 교체하지 않음 (내용 동일) |