삼관왕

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년 전 조회 3,940
7년 전 조회 1,695
7년 전 조회 1,996
7년 전 조회 2,155
7년 전 조회 1,743
7년 전 조회 1,577
7년 전 조회 1,771
7년 전 조회 1.1만
7년 전 조회 1,837
7년 전 조회 1,977
7년 전 조회 1,831
7년 전 조회 2,163
7년 전 조회 1,643
7년 전 조회 1,824
7년 전 조회 2,031
7년 전 조회 2,278
7년 전 조회 1,570
7년 전 조회 1,668
7년 전 조회 2,184
7년 전 조회 1,650
7년 전 조회 2,089
7년 전 조회 3,293
7년 전 조회 5,516
7년 전 조회 1,860
7년 전 조회 2,042
7년 전 조회 3,167
7년 전 조회 2,212
7년 전 조회 1,828
7년 전 조회 1,855
7년 전 조회 1,740
🐛 버그신고