This is the output from the command " sudo certbot --apache-ctl /opt/lampp/bin/apachectl" :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: www.noob.software
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter âcâ to cancel): 1
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isnât close to expiry.
(ref: /etc/letsencrypt/renewal/www.noob.software.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 1
Keeping the existing certificate
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/000-default-le-ssl.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if youâre confident your site works on HTTPS. You can undo this
change by editing your web serverâs configuration.
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 2
Enhancement redirect was already set.
Congratulations! You have successfully enabled https://www.noob.software
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=www.noob.software
IMPORTANT NOTES:
-
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/www.noob.software/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/www.noob.software/privkey.pem
Your cert will expire on 2020-10-31. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the âcertonlyâ option. To non-interactively renew all of
your certificates, run âcertbot renewâ
-
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Letâs Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
I had already installed certbot to the built-in apache on ubuntu before i installed the XAMPP way. So i assumed that that was the reason certbot prompted me to reinstall or renew or replace.
If i run this command : sudo certbot renew --rsa-key-size 4096
i get this output:
Processing /etc/letsencrypt/renewal/www.noob.software.conf
Cert not yet due for renewal
The following certs are not due for renewal yet:
/etc/letsencrypt/live/www.noob.software/fullchain.pem expires on 2020-10-31 (skipped)
No renewals were attempted.