ugrás a tartalomhoz

Archívum - Júl 24, 2018 - Fórum téma

Letsencrypt

Theo76 · 2018. Júl. 24. (K), 23.15
Sziasztok!

A Letsencrypt-et akartam beállítani. Cloud szerver, Ubuntu 18.04 rendszer + Apache.
Megcsináltam a vhost beállítást:
  1. <VirtualHost domain.hu:80>  
  2.   
  3. <------>ServerName domain.hu  
  4. <------>ServerAlias www.domain.hu  
  5.   
  6. <------>DocumentRoot "/var/www/domain/htdocs"  
  7.   
  8. <------><Directory /var/www/domain/htdocs>  
  9.   
  10. <------><------>allow from all  
  11. <------><------>Options ExecCGI FollowSymLinks MultiViews SymLinksIfOwnerMatch  
  12. <------><------>Require all granted  
  13. <------><------>Order Allow,Deny  
  14.   
  15. <------></Directory>  
  16.   
  17. <------>RewriteEngine on  
  18. <------>RewriteCond %{SERVER_NAME} =domain.hu [OR]  
  19. <------>RewriteCond %{SERVER_NAME} =www.domain.hu  
  20. <------>RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=premanent]  
  21. <------>  
  22. </VirtualHost>  
majd a certbot lefutása után ezt kaptam...
  1. IMPORTANT NOTES:  
  2.  - The following errors were reported by the server:  
  3.   
  4.    Domain: domain.hu  
  5.    Type:   unauthorized  
  6.    Detail: Invalid response from  
  7.    http://domain.hu/.well-known/acme-challenge/eNfp4RCv99UiQB-8K_y41Z1hmC4WN-KVUNY073lHD9I:  
  8.    "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">  
  9.    <html><head>  
  10.    <title>403 Forbidden</title>  
  11.    </head><body>  
  12.    <h1>Forbidden</h1>  
  13.    <p"  
  14.   
  15.    To fix these errors, please make sure that your domain name was  
  16.    entered correctly and the DNS A/AAAA record(s) for that domain  
  17.    contain(s) the right IP address.  
Mi lehet a gond?