DonManfred Expert Licensed User Longtime User Jan 12, 2025 #1 I have webserver with a LetsEncryptcertificate and i resently cvonverted my Cert to use it in the Serverapp. Reference: https://www.b4x.com/android/forum/t...h-letsencrypt-certifikate.165056/#post-101193 But now i´m wondering if i have to restart the Serverapp if i get an updated Certificate from LetsEncrypt. I´m copying the cert after a RENEW and then i´m restarting Apache. So far this is working fine. This let me thing i have to recreate the PFX again. I can do that in the renewscript, so no problem here too. Asume i have a running b4japp whis is using the PFX i created resently. Do i have to restart the B4JApp for the new PFX to be used?
I have webserver with a LetsEncryptcertificate and i resently cvonverted my Cert to use it in the Serverapp. Reference: https://www.b4x.com/android/forum/t...h-letsencrypt-certifikate.165056/#post-101193 But now i´m wondering if i have to restart the Serverapp if i get an updated Certificate from LetsEncrypt. I´m copying the cert after a RENEW and then i´m restarting Apache. So far this is working fine. This let me thing i have to recreate the PFX again. I can do that in the renewscript, so no problem here too. Asume i have a running b4japp whis is using the PFX i created resently. Do i have to restart the B4JApp for the new PFX to be used?
Erel B4X founder Staff member Licensed User Longtime User Jan 12, 2025 #2 Unless you are using the code from this example: https://www.b4x.com/android/forum/threads/server-letsencrypt-ssl-certificates.159285/#content you do need to restart the server in order to load the updated certificate. See the ReloadCertificate method there. Upvote 0
Unless you are using the code from this example: https://www.b4x.com/android/forum/threads/server-letsencrypt-ssl-certificates.159285/#content you do need to restart the server in order to load the updated certificate. See the ReloadCertificate method there.
DonManfred Expert Licensed User Longtime User Jan 12, 2025 #3 Erel said: you do need to restart the server in order to load the updated certificate Click to expand... Ok. Thank you. That´s not a big deal. As i´m running the renewbatch by hand i can update it to restart the b4jserver too. I´ve already have them running as a Windowsservice. So i´ll add B4X: Copy net stop BotWatchdog net start BotWatchdog after i updated the PFX.... Upvote 0
Erel said: you do need to restart the server in order to load the updated certificate Click to expand... Ok. Thank you. That´s not a big deal. As i´m running the renewbatch by hand i can update it to restart the b4jserver too. I´ve already have them running as a Windowsservice. So i´ll add B4X: Copy net stop BotWatchdog net start BotWatchdog after i updated the PFX....