2016-12-15 4 views
0

Google 웹 사이트에서 SSL을 사용하려고합니다. 웹 사이트는 내가하자 암호화에서 certicates를 생성하고 우분투 튜토리얼을 따라하지만, 마지막에 내가 성공SSL을 사용할 때 웹 사이트에 액세스 할 수 없습니다.

없이 내 모든 크롬 캐시를 플러시 한 ERR_CONNECTION_REFUSED

<VirtualHost *:443> 

    ServerAdmin [email protected] 
    ServerName dp7.sitename.eu 
    ServerAlias www.dp7.sitename.eu 

    #SSLEngine on 
    #SSLCertificateFile  /etc/letsencrypt/live/sitename.fr/cert.pem 
    #SSLCertificateChainFile /etc/letsencrypt/live/sitename.fr/fullchain.pem 
    #SSLCertificateKeyFile /etc/letsencrypt/live/sitename.fr/privkey.pem 
     DocumentRoot /var/www/bt750 
     <Directory "/var/www/bt750"> 
      Options +FollowSymLinks -MultiViews 
      AllowOverride all 
      Order allow,deny 
      allow from all 
     Require all granted 
     </Directory> 
    ErrorLog /var/log/apache2/dp7_ssl_error.log 
    LogLevel warn 
    CustomLog /var/log/apache2/dp7_ssl_access.log "combined" 
</VirtualHost> 

을 얻고 한 2016 우분투 서버에

어떻게이 문제를 해결할 수 있습니까?

답변

2

아파치 구성에 오류가 있습니다. 당신은 슬프게도가 작동하지 않았다, 당신의 도움을 브라우저에, 메신저 점점 ERR_SSL_PROTOCOL_ERROR를 443 포트와 주석 SLL 구성

Listen 443 
<VirtualHost *:443> 

    ServerAdmin [email protected] 
    ServerName dp7.sitename.eu 
    ServerAlias www.dp7.sitename.eu 

    SSLEngine on 
    SSLCertificateFile  /etc/letsencrypt/live/sitename.fr/cert.pem 
    SSLCertificateChainFile /etc/letsencrypt/live/sitename.fr/fullchain.pem 
    SSLCertificateKeyFile /etc/letsencrypt/live/sitename.fr/privkey.pem 
     DocumentRoot /var/www/bt750 
     <Directory "/var/www/bt750"> 
      Options +FollowSymLinks -MultiViews 
      AllowOverride all 
      Order allow,deny 
      allow from all 
     Require all granted 
     </Directory> 
    ErrorLog /var/log/apache2/dp7_ssl_error.log 
    LogLevel warn 
    CustomLog /var/log/apache2/dp7_ssl_access.log "combined" 
</VirtualHost> 
+0

안녕하세요, 감사합니다 Listen해야합니다. –

+0

아파치 오류 로그를 게시 할 수 있습니까? – pedrofb

+0

내 오류 로그가 비어 있습니다. /var/log/apache2/dp7_ssl_error.log가 비어 있습니다. /var/log/apache2/error.log에는 다음이 포함되어 있습니다. '[Mon Jan 02 06 : 28 : 18.619197 2017] [mpm_prefork : notice] [pid 30653] AH00163 : Apache/2.4.18 (Ubuntu) OpenSSL/1.0. 2g 구성 - 정상 operations' 복귀 및 '[일월 월 02 06 : 28 : 18.619220 2,017] [코어 : 고지] PID 30,653] AH00094 : 커맨드 라인 :'은/usr/sbin에/apache2'' –