B4J Question Update SSL-Certificate in B4J Serverapp

DonManfred

Expert
Licensed User
Longtime User
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?
 

DonManfred

Expert
Licensed User
Longtime User
you do need to restart the server in order to load the updated certificate
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:
net stop BotWatchdog
net start BotWatchdog
after i updated the PFX....
 
Upvote 0
Top