I have just installed Apache on Ubuntu Server 23.04. Everything went fine until I attempted to execute sudo certbot --apache.
I was getting the error "Certificate Authority failed to verify the temporary Apache configuration." I have tried so much I am now getting:
"An unexpected error occurred:
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f98d69e4610>, 'Connection to acme-v02.api.letsencrypt.org timed out. (connect timeout=45)'))"
I am able to load the virtual site on a different computer on the same network using port 80, but not port 443.
I get the following output when running sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
22/tcp (OpenSSH) ALLOW IN Anywhere
80,443/tcp (Apache Full) ALLOW IN Anywhere
22/tcp (OpenSSH (v6)) ALLOW IN Anywhere (v6)
80,443/tcp (Apache Full (v6)) ALLOW IN Anywhere (v6)
My domain is kevinwatkins.us.
Can anybody assistant me