RadarURL
보안

RSA server certificate CommonName (CN) `www.mydomain.com' does NOT match server name!?

by JaeSoo posted Apr 04, 2013
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

아파치를 업그레이드를 하거나 인증서 갱신 후에 아래와 같은 에러로 데몬이 올라오지 않는 경우가 있습니다.  이럴 경우 대처할 수 있는 방법을 알려 드리겠습니다.


[warn] RSA server certificate CommonName (CN) `www.mydomain.com' does NOT match server name!?


1. /etc/hosts 파일에 해당 도메인의 아이피와 도메인이 셋팅 되어 있는지 확인


  예)  123.123.123.123      www.mydomain.com


2. Apache Config 수정 (httpd-ssl.conf or ssl.conf)


<VirtualHost www.mydomain.com:443>


ServerName www.mydomain.com:443


DocumentRoot /home/directory/html


SSLEnable


SSLCertificateFile /etc/httpd/conf/SSL/mydomain.crt


SSLCertificateKeyFile /etc/httpd/conf/SSL/ssl.key


SSLCertificateChainFile /etc/httpd/conf/SSL/chain.crt


</VirtualHost>


VitualHost 를 위와 같이 수정하시고 데몬을 다시 시작하시면 아마 잘 작동 될것입니다.

 

 

출처 : http://www.innocert.co.kr/community/read.html?no=22&id=1

Who's JaeSoo

profile

http://JaeSoo.com Administrator


Articles

1 2 3 4 5 6 7 8 9 10