I ran this command: I tried to create a new certificate (wsv.madobox.fr) on the same server as wsv.gtbox.fr
It produced this output: My wsv.gtbox.fr certificate does not work anymore. I tried to go back restoring the previous certificate files but it does not work !?
My web server is (include version): JBoss Application Serveur 7
The operating system my web server runs on is (include version):Ubuntu 18.04 LTS
My hosting provider, if applicable, is: PlanetHoster
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.22.0
Hello, i finally manage to go back and rebuilt the wsv.gtbox.fr certificate ! Now i will try again to build the new wsv.madobox.fr and make it work with my Jboss server.
Hi @SavNTec and welcome to the community!
I see you are working on the issue..
What I notice is that https://wsv.madobox.fr/ is serving a certificate issued for wsv.gtbox.fr...
The cert is valid till April. wsv.gtbox.fr is serving the same certificate and it seems to be working correctly. (Page is blank probably cuz you are working on it.)
So all you need to do is configure this cert and you should be good to go: crt.sh | wsv.madobox.fr
wsv.gtbox.fr and wsv.madobox.fr are in fact the same host containing a JBoss AS 7 server. As i dont manage to set two different certificates in the JBoss configuration ( ) , i rebuild the wsv.gtbox.fr certificate with an « alias » domain name wsv.madobox.fr. It seems to work fine, i can access my Web application using https with wsv.gtbox.fr or wsv.madobox.fr.
Can you pleas confirm me that this configuration is right and that auto update with /root/cert/certbot-auto will work fine ?
Could you please tell me the expirency date of the certificates so that i could check if the update is ok at this time ?
certbot-auto has been deprecated.
There is no guarantee that it will continue to work "fine".
If possible, you should update to a current version of certbot.
certbot-auto in fact is a shell script (about 2000 lines !?).
The cron to update the certificates contains : 0 4 * * * /root/cert/certbot-auto renew --max-log-backups 31 --no-self-upgrade --quiet --renew-hook /root/cert/store-renewed.sh
You think i can replace it by : : 0 4 * * * /root/cert/certbot renew --max-log-backups 31 --no-self-upgrade --quiet --renew-hook /root/cert/store-renewed.sh
So you think i can remplace : 0 4 * * * /root/cert/certbot-auto renew --max-log-backups 31 --no-self-upgrade --quiet --renew-hook /root/cert/store-renewed.sh