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), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:nextcloud.gibgeeks.com
I ran this command:Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 2
Attempting to parse the version 2.6.0 renewal configuration file found at /etc/letsencrypt/renewal/nextcloud.gibgeeks.com.conf with version 1.21.0 of Certbot. This might not work.
Are you trying to change the key type of the certificate named nextcloud.gibgeeks.com from ECDSA to RSA? Please provide both --cert-name and --key-type on the command line to confirm the change you are trying to make.
It produced this output:
My web server is (include version): ubuntu 22.04
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: homeserver
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): bluehost
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): was certbot classic
I originaly set up nextcloud this morning and had https cert with domain nextcloud.gibgeeks.com running then I attempted to get a cert for another domain on same ubuntu 22.04 host of the nextcloud server. I ended up with only http on nextcloud.gibgeeks.com and unable to get the cert for gibgeeks.com.
I think i have installed 2 different versions of certbox?
Having 2 versions of Certbot isn't the end of the world. At least, it's not the cause of your problems right now. You should uninstall the non-snap version, though.
It looks like you have working SSL certificates for both of your domains right now. It seems fine when I visit. Is something not working for you?
Yes, when I use my phone on data for both domains https works, but inside the network ie on a 192.168.x.x network the truecloud.gibgeeks.com is http only. I had to add the domain IP to trusted sites to get nextclout to work.
the domain gibgeeks.com has the certificate for the moment but will not auto renew so i wanted them both to renew from ubuntu-nextcloud. Should I just uninstall the non snap version? is classic certbot non snap?
Thanks, its easy when you know how! Info is below, I will ununstall certbot as requested shortly.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Found the following certs:
Certificate Name: nextcloud.gibgeeks.com
Serial Number: 312e15edb49c002a6274c21a32ba178f7f5
Key Type: ECDSA
Domains: nextcloud.gibgeeks.com
Expiry Date: 2023-08-28 08:59:56+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/nextcloud.gibgeeks.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/nextcloud.gibgeeks.com/privkey.pem
Result is below
nextcloud@nextclouud:~$ sudo certbot renew --dry-run
[sudo] password for nextcloud:
Saving debug log to /var/log/letsencrypt/letsencrypt.log