1. 인증서 저장

EX) C:\SSL

2. httpd.conf(1.3.x.x) or ssl.conf(2.0.x.x) or /conf/extra/httpd-ssl.conf(2.2.x.x) 수정

EX) C:\Program Files\Apache Software Foundation\Apache\conf

## SSL Virtual Host Context

<VirtualHost _default_:443> → 이름기반(name based) SSL 가상호스트 설정

DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
server www.ucert.co.kr → 인증받은 도메인 주소 입력
serveradmin ucert@ucert.co.kr
ErrorLog logs/error_log
TransferLog logs/access_log

# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on

# Server Certificate:
SSLCertificateFile "C:\SSL\www_ucert_co_kr.crt" → 웹서버 인증서 경로 설정

# Server Private Key:
SSLCertificateKeyFile "C:\SSL\www_ucert_co_kr.key" → 개인키 경로 설정

# Server Certificate Chain:
SSLCertificateChainFile "C:\SSL\www_ucert_co_kr.ca-bundle" →CA번들 경로 설정


※ Apache Server 2.2.x.x 에서 설정해야할것들

① [Apache HTTP Server 2.2] > [Configure Apache Server] > [Edit Apache Httpd.conf]

② 주석을 풀어 줍니다.
...
LoadModule ssl_module modules/mod_ssl.so
...
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
...

3. Apache SSL Restart

4. 인증서백업하기

인증서는 개인키와 함께 꼭 백업을 해두셔야 하며, 백업을 하지 않아 인증서를 재발급 받는 경우 인증서의 서비스 특징에 따라 비용이 추가될 수 있습니다.


인증서 발급 : http://www.sstrust.net/

+ Recent posts