Hello,
I'm just trying to learn and creating almost everything from the ground up. I'm making an https server in Java and want to get ssl working. I'm already hosting 1 website on my server with 1 ip, but I have another ip for this self-made website. I'm not sure though how to create the certificates for this ip. I'm guessing I get Problem binding to port 80: Could not bind to IPv4 or IPv6.
because it's trying to bild to my running websites ip address. So my question is how to change that.
Thanks for the help in advance and let me know if I'm doing anything wrong (any helpful tip is appreciated).
My domain is:
graceteam.xyz
I ran this command:
sudo certbot certonly -d graceteam.xyz
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Nginx Web Server plugin (nginx)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 2
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for graceteam.xyz
Cleaning up challenges
Problem binding to port 80: Could not bind to IPv4 or IPv6.
My web server is (include version):
Is just a simple Java self-written HttpsServer.
The operating system my web server runs on is (include version):
Ubuntu 18.04.4 LTS
My hosting provider, if applicable, is:
contabo.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):
certbot 1.9.0