삼관왕

ssl letsencrypt 세팅 질문

가상서버 호스팅 사용합니다. (스쿨호스팅)
centos6.x(64bit)


여러개 도메인과 사이트가 있습니다.


letsencrypt 관련 파일이나 모듈을 설치를 하였습니다.
인증서가 발급이 되는것을 보면 잘된것 같습니다.

예를 들어 일단 mysitename.com 을 받았다고 치면,

그런데  아래와 같이 적용하면 아무 변화가 없고 https 로는 접속이 안되는데,
다른 설정파일을 수정해야 할것이 있을까요.

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAlias mysitename.com
SSLCertificateFile /etc/letsencrypt/live/mysitename.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mysitename.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/mysitename.com/chain.pem

 

......이하생략


</VirtualHost>
</IfModule>

<IfModule mod_ssl.c>
<VirtualHost *:80>
    ServerAdmin admin@mysitename.com
    DocumentRoot /home/mysitename/www/
    ServerName mysitename.com
    ServerAlias *.mysitename.com
    ErrorDocument 404  http://www.mysitename.com/404.php
 <Directory />
        options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
 </Directory>
</VirtualHost>
</IfModule>


 

형님들 도움을  주세요

|

댓글 1개

자문 자답 입니다.
iptables 설정을 안했네요.

-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
댓글을 작성하시려면 로그인이 필요합니다.

서버관리자

서버관리자 모임 게시판 입니다.

+
제목 글쓴이 날짜 조회
7년 전 조회 4,064
7년 전 조회 1,827
7년 전 조회 2,116
7년 전 조회 2,275
7년 전 조회 1,861
7년 전 조회 1,700
7년 전 조회 1,897
7년 전 조회 1.1만
7년 전 조회 1,966
7년 전 조회 2,099
7년 전 조회 1,930
7년 전 조회 2,277
7년 전 조회 1,771
7년 전 조회 1,945
7년 전 조회 2,132
7년 전 조회 2,386
7년 전 조회 1,706
7년 전 조회 1,785
7년 전 조회 2,274
7년 전 조회 1,759
7년 전 조회 2,199
7년 전 조회 3,426
7년 전 조회 5,650
7년 전 조회 1,984
7년 전 조회 2,154
8년 전 조회 3,279
8년 전 조회 2,330
8년 전 조회 1,946
8년 전 조회 1,956
8년 전 조회 1,873