ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
172 stars 32 forks source link

Certbot doesn't renew certificate even after upgrade #27

Closed nikhilbhardwaj closed 3 years ago

nikhilbhardwaj commented 3 years ago

My power-mailbox instance running on digitalocean has an expired certificate. Even after successfully upgrading the version of power-mailbox to 0.54-Power-5 it doesn't look like certbot ran or renewed the certificate.

I've tried to follow instructions from the mailinabox discourse to resolve this but without any luck.

The one thing to note is that I had originally migrated from a vanilla mailinabox instance to power-mailbox when I moved the server from an Ubuntu box to a Debian box and things worked fine for months after the switchover. However now I can't receive and send mail on mobile devices due to the expired certs.

nikhilbhardwaj commented 3 years ago

I was able to get this to work by installing the certbot nginx plugin and having it configure the certificate for my domain.