I am new to Let's Encrypt.
I am currently setting up a product (VPN gateway) that requires a TLS certificate to encrypt the communication between my clients and the VPN gateway. How can I use Let's encrypt to get that certificate and keys created. (*.pem or *.cer files)?.
I am not setting up any webserver such Apache or IIS or any built applications.
My VPN gateway is running on a EC2 AWS Instances and while I perform the installation I need to feed the keys.
My domain is: vpntestalp.com (registered and available)
I ran this command: certbot certonly -d vpntestalp.com (no sure if this is correct)
It produced this output:
How would you like to authenticate with the ACME CA?
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Plugins selected: Authenticator standalone, Installer None
Requesting a certificate for vpntestalp.com
Performing the following challenges:
http-01 challenge for vpntestalp.com
Waiting for verification...
Challenge failed for domain vpntestalp.com
http-01 challenge for vpntestalp.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: vpntestalp.com
Type: connection
Detail: Fetching
http://vpntestalp.com/.well-known/acme-challenge/no2lc2fe9ruZgoJRNHJqWmoPdAYqwVJQFXAquo8Nx1Y:
Timeout during connect (likely firewall problem)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.
My web server is (include version): N/A
The operating system my web server runs on is (include version): N/A
My hosting provider, if applicable, is: AWS
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): certbot 1.11.0
Thanks for the support