I am experiencing an odd issue with ssl certificate renewal on my server.
I have a setup with a reverse proxy developed in node.js, and deployed through pm2. On top of that, I have setup a letsencrypt certificate with auto renewal. All-in-all, the certificate is setup correctly, and it also auto renews perfectly fine. The issue seems to be that I need to manually restart my reverse proxy through pm2 when the letsencrypt auto renewal has happened. Otherwise I get an out of date warning when accessing my webpage.
I have Googled around, but simply can’t find anyone reporting this issue. I only see that everyone seems to use NginX as reverse proxy, which I might do at a later point, but for now I would like to figure out was is going wrong in my current setup.
just to clarify it’s not a bug it’s designed behavior (just like Apache, Nginx etc). A lot of web servers cache the certificates and keys in memory for faster access hence the need to restart.