Hello,
I am trying to install strongSwan VPN server on Ubuntu 17.10.1. There is a bash script on GitHub (https://github.com/jawj/IKEv2-setup) to automate the whole process. Part of this automation is installing LetsEncrypt certificate on server, however it fails. Therefore I examined the mentioned script and found the following command:
“certbot certonly --non-interactive --agree-tos --email $EMAIL --standalone -d $VPNHOST”
and the result of the above command:
=======================================================================
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Running pre-hook command: /sbin/iptables -I INPUT -p tcp --dport 443 -j ACCEPT
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for vpn.mydomain.net
Waiting for verification…
Cleaning up challenges
Running post-hook command: /sbin/iptables -D INPUT -p tcp --dport 443 -j ACCEPT
Failed authorization procedure. vpn.mydomain.net (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://vpn.mydomain.net/.well-known/acme-challenge/FNq1EXqDVwxSzKRy_5CApaGc1QgjSwy1tjdezt8S7ws: Timeout
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: vpn.mydomain.net
Type: connection
Detail: Fetching
http://vpn.mydomain.net/.well-known/acme-challenge/FNq1EXqDVwxSzKRy_5CApaGc1QgjSwy1tjdezt8S7ws:
Timeout
==============================================================================
The server is Ubuntu 17.10.1, only SSH server is installed. I have triple checked that vpn.mydomain.net resolves to correct IP address.
Your help is highly appreciated.
Thank you.
Omid