Hi, as the forum suggests, I'm a newbie so please bear with me :)
I installed VirtualMin on my VPS, added letsencrypt and set it to renew every 2 months. So far so good.
I wanted to use it also for my tomcat, so I did the following: certbot certonly --standalone -d foo.example.com (I had to shut down tomcat or apache to make it work, any chance someone here remembers which?) and then I executed this: cd /etc/letsencrypt/live/yourdomain.com openssl pkcs12 -export -out bundle.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -password pass:... and changed the connector of tomcat accordingly to use the bundle.pfx fike, again, so far so good.
Now I want to automate all this after VirtualMin does his renewal. This is where I go back in time to remind you that I'm a newbie. How can I automate those steps after virtualmin does his magic? Thanks!