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:

<VirtualHost domain.hu:80>

<------>ServerName domain.hu
<------>ServerAlias www.domain.hu

<------>DocumentRoot "/var/www/domain/htdocs"

<------><Directory /var/www/domain/htdocs>

<------><------>allow from all
<------><------>Options ExecCGI FollowSymLinks MultiViews SymLinksIfOwnerMatch
<------><------>Require all granted
<------><------>Order Allow,Deny

<------></Directory>

<------>RewriteEngine on
<------>RewriteCond %{SERVER_NAME} =domain.hu [OR]
<------>RewriteCond %{SERVER_NAME} =www.domain.hu
<------>RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=premanent]
<------>
</VirtualHost>
majd a certbot lefutása után ezt kaptam...

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: domain.hu
   Type:   unauthorized
   Detail: Invalid response from
   http://domain.hu/.well-known/acme-challenge/eNfp4RCv99UiQB-8K_y41Z1hmC4WN-KVUNY073lHD9I:
   "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <html><head>
   <title>403 Forbidden</title>
   </head><body>
   <h1>Forbidden</h1>
   <p"

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.
Mi lehet a gond?