# SSL failed on Apache 2 Ubuntu 20.04

**URL:** <https://community.letsencrypt.org/t/ssl-failed-on-apache-2-ubuntu-20-04/153532>\
**Category:** Help\
**Created:** [June 10, 2021, 4:02pm UTC](https://community.letsencrypt.org/t/ssl-failed-on-apache-2-ubuntu-20-04/153532 "2021-06-10T16:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stahlpruegel](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@stahlpruegel](https://community.letsencrypt.org/u/stahlpruegel)\
**Post date:** [June 10, 2021, 4:02pm UTC](https://community.letsencrypt.org/t/ssl-failed-on-apache-2-ubuntu-20-04/153532/1 "2021-06-10T16:02:51Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [crt.sh | example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: [http://kstrjannik.de/](http://kstrjannik.de/)

I ran this command: sudo certbot --apache

It produced this output:  
space separated) (Enter 'c' to cancel): [kstrjannik.de](http://kstrjannik.de)  
Requesting a certificate for [kstrjannik.de](http://kstrjannik.de)

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:  
Domain: [kstrjannik.de](http://kstrjannik.de)  
Type: unauthorized  
Detail: Invalid response from [http://kstrjannik.de/.well-known/acme-challenge/w7q-8V6NpUF2oQLeuL4PIW62qwylTSe7\_cX4\_D-qvR4](http://kstrjannik.de/.well-known/acme-challenge/w7q-8V6NpUF2oQLeuL4PIW62qwylTSe7_cX4_D-qvR4) [2001:8d8:100f:f000::257]: 204

Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

Some challenges have failed.  
Ask for help or search for solutions at [https://community.letsencrypt.org](https://community.letsencrypt.org). See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version):

Server version: Apache/2.4.41 (Ubuntu)  
Server built: 2020-08-12T19:46:17

The operating system my web server runs on is (include version): Ubuntu 20.04

My hosting provider, if applicable, is: [Hetzner.com](http://Hetzner.com)

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you're using Certbot): 1.16.0

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [June 10, 2021, 5:07pm UTC](https://community.letsencrypt.org/t/ssl-failed-on-apache-2-ubuntu-20-04/153532/2 "2021-06-10T17:07:40Z")

</div>

> [@stahlpruegel](#):
>
> Detail: Invalid response from [http://kstrjannik.de/.well-known/acme-challenge/w7q-8V6NpUF2oQLeuL4PIW62qwylTSe7\_cX4\_D-qvR4](http://kstrjannik.de/.well-known/acme-challenge/w7q-8V6NpUF2oQLeuL4PIW62qwylTSe7_cX4_D-qvR4) [2001:8d8:100f:f000::257]: 204

The Let's Encrypt validation server reports it used an IPv6 address to connect to your site. However, _currently_ I'm not seeing any AAAA resource records for `kstrjannik.de`. Did you by any chance remove this very recently?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [July 10, 2021, 5:08pm UTC](https://community.letsencrypt.org/t/ssl-failed-on-apache-2-ubuntu-20-04/153532/3 "2021-07-10T17:08:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
