Error getting validation data, Type connection

Hi, Mr. rg305,
I might not fully understand what I should do, but I chenged a-trust.ibcc.fun.conf as below.

<virtualhost *:443>
  ServerName a-trust.ibcc.fun
  # this path is unuseful and used only for Let's Encrypt's temporary files during the renewal process
  DocumentRoot /var/www/html
  # send all traffic to Icecast in plaintext
  <Location "/">
    ProxyPass        http://localhost:8000/
    ProxyPassReverse http://localhost:8000/
  </Location>
  # these files are served from /var/www/html to serve Let's Encrypt temporary files
  <Location "/.well-known/acme-challenge">
    ProxyPass        https://localhost:8000/
    ProxyPassReverse https://localhost:8000/
    ProxyPass        https://localhost:443/
    ProxyPassReverse https://localhost:443/
   # ProxyPass !
  </Location>
  <IfFile /etc/letsencrypt/live/a-trust.ibcc.fun/cert.pem>
    SSLEngine on
    SSLCertificateFile      /etc/letsencrypt/live/a-trust.ibcc.fun/cert.pem
    SSLCertificateKeyFile   /etc/letsencrypt/live/a-trust.ibcc.fun/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt/live/a-trust.ibcc.fun/chain.pem
  </IfFile>
</virtualhost>
<VirtualHost *:80>
  ServerName a-trust.ibcc.fun
  Redirect / https://a-trust.ibcc.fun/
</VirtualHost>

and restarted the server.
and, I got the same result as before,

root@157-7-207-219:~# letsencrypt certonly --domain a-trust.ibcc.fun --webroot --webroot-path /var/www/html
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Requesting a certificate for a-trust.ibcc.fun
Performing the following challenges:
http-01 challenge for a-trust.ibcc.fun
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Challenge failed for domain a-trust.ibcc.fun
http-01 challenge for a-trust.ibcc.fun
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
 - The following errors were reported by the server:
   Domain: a-trust.ibcc.fun
   Type:   connection
   Detail: 157.7.207.219: Fetching
   https://a-trust.ibcc.fun/.well-known/acme-challenge/KhkSB5z1OdnJJsb5_IXbonHgl7PX1CZMtjNHfH3OxzQ:
   Error getting validation data
   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.
root@157-7-207-219:~# 

If I made wrong change on the file, a-trust.ibdd.fun.conf .
please let me know in detail.
Thank you.

Shee

1 Like