- Welche Version von pd-admin wird eingesetzt? 4.58
- Welche Version der Serverumgebung wird eingesetzt? 3 0.312
Hallo,
wie kann ich bei der Server Domain Let's Encrypt verwenden?
Der VirtualHost sieht im Template wie folgt aus:
Code
<VirtualHost $$STANDARD_IP:80>
# Bitte passen Sie in der naechsten Zeilie den Servernamen an
ServerName $$SERVERNAME
ServerAlias www.$$SERVERNAME
DocumentRoot /usr/local/pd-admin2/htdocs_80
Alias /pda-ssl-validation-files /opt/pdadmin/etc/ssl-validation
Alias /.well-known/acme-challenge/ /opt/pdadmin/etc/ssl-validation/.well-known/acme-challenge/
</VirtualHost>
Alles anzeigen
$$SERVERNAME ist z.B. s3.example.org
beim Aufruf von /opt/pdadmin/bin/letsencrypt erhalte ich jedoch folgende Meldungen
HTML
> /opt/pdadmin/bin/letsencrypt s3.example.org
###############################
/usr/local/pd-admin2/htdocs -d s3.example.org
###############################
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for s3.example.org
Using the webroot path /usr/local/pd-admin2/htdocs for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. s3.example.org (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://s3.example.org/.well-known/acme-challenge/iCr4xHN1Q8z-1rH8JjAkC5ovFVCi6aR15g70YwA2FgU: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: s3.example.org
Type: unauthorized
Detail: Invalid response from
http://s3.example.org/.well-known/acme-challenge/iCr4xHN1Q8z-1rH8JjAkC5ovFVCi6aR15g70YwA2FgU:
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</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.
certbot-auto failedWriting /usr/local/pd-admin2/conf/httpd.conf
Writing /usr/local/pd-admin2/httpd-2.4/conf/httpd.conf
webserver = <AP22>
Apache 22 is already selected
Alles anzeigen
Wo ist mein Fehler, dass http://s3.example.org/.well-kn…AkC5ovFVCi6aR15g70YwA2FgU nicht erreichbar ist? Warum funktioniert der Alias nicht?
Für <VirtualHost $$STANDARD_IP:443> habe ich bereits ein Eintrag mit einem selbstsignierten Zertifikat erstellt, ist das evtl. das Problem?
mfg
Twilo