Portál AbcLinuxu, 8. května 2025 02:16
./letsencrypt-auto certonly --webroot -w /var/www/www.moja_domena.info -d moja_domena.info -d www.moja_domena.infoa update prebehol vzdy bez problemov.
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert is due for renewal, auto-renewing... Renewing an existing certificate Performing the following challenges: http-01 challenge for moja_domena.info http-01 challenge for www.moja_domena.info Using the webroot path /var/www/www.moja_domena.info for all unmatched domains. Waiting for verification... Cleaning up challenges Failed authorization procedure. moja_domena.info (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://moja_domena.info/.well-known/acme-challenge/FCPyRKxo0KU2etyT84jqpPUkkMuToPt0fFRz8e18Slg: Timeout, www.moja_domena.info (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.moja_domena.info/.well-known/acme-challenge/jyTCqIjY3JpRC59vef04O5q5wmBiZpvLS51ikospQmY: Timeout IMPORTANT NOTES: - The following errors were reported by the server: Domain: moja_domena.info Type: connection Detail: Fetching http://moja_domena.info/.well-known/acme-challenge/FCPyRKxo0KU2etyT84jqpPUkkMuToPt0fFRz8e18Slg: Timeout Domain: www.moja_domena.info Type: connection Detail: Fetching http://www.moja_domena.info/.well-known/acme-challenge/jyTCqIjY3JpRC59vef04O5q5wmBiZpvLS51ikospQmY: Timeout 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. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.skusal som vypnut firewall, skontroloval som ci sa dns zaznam zhoduje s IP adresou. V minulosti si spominam, ze som mal problem ak bol v koreni domeny .htaccess tak to robilo problemy (stacilo pred obnovou .htaccess odstranit a po obnoveni nakopirovat s5).
sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache sudo certbot --apache -d moja_domena.info -d www.moja_domena.infoale tam zase dostanem
The apache plugin is not working; there may be problems with your existing configuration. The error was: PluginError('There has been an error in parsing the file /etc/apache2/sites-available/default.conf.save on line 4: Syntax error',)obsah /etc/apache2/sites-available/default.conf.save je
VirtualHost _default_:80> DocumentRoot "/var/www/" # ... </VirtualHost>Lenze ja uz nepouzivam /etc/apache2/sites-available/default.conf.save ale v /etc/apache2/sites-available/ mam vlastne conf subory pre vhosty.
Řešení dotazu:
wget http://www.moja_domena.info/.well-known/acme-challenge/jyTCqIjY3JpRC59vef04O5q5wmBiZpvLS51ikospQmYMáte lokálně něco špatně nakonfigurované – DNS servery, máte přepsanou adresu
moje_doma.info
v /etc/hosts
, máte tam nějaký NAT… Ten wget
výše vám pravděpodobně neprojde, pak nejprve zjistěte, zda je chyba v překladu názvu nebo teprve v navázání spojení.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.