삼관왕

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,018
7년 전 조회 1,779
7년 전 조회 2,067
7년 전 조회 2,224
7년 전 조회 1,818
7년 전 조회 1,652
7년 전 조회 1,849
7년 전 조회 1.1만
7년 전 조회 1,914
7년 전 조회 2,051
7년 전 조회 1,897
7년 전 조회 2,226
7년 전 조회 1,724
7년 전 조회 1,904
7년 전 조회 2,100
7년 전 조회 2,344
7년 전 조회 1,659
7년 전 조회 1,745
7년 전 조회 2,243
7년 전 조회 1,724
7년 전 조회 2,167
7년 전 조회 3,375
7년 전 조회 5,609
7년 전 조회 1,933
7년 전 조회 2,112
7년 전 조회 3,236
8년 전 조회 2,280
8년 전 조회 1,897
8년 전 조회 1,910
8년 전 조회 1,829