Hello,
I want to use my own reverse proxy which is working perfectly fine with my mailcow webinterfaces. The only thing is about the certificates.
I followed the steps described here: https://docs.mailcow.email/post_installation/firststeps-ssl/#how-to-use-your-own-certificate
- disable letsencrypt
- keep track about your own cert.pem and key.pem (using fullchain.pem and privkey.pem from issued letsencrypt cert of my reverse proxy)
- restart postfix, nginx and dovecot
Right now it somehow uses my old certificate which was made by LetsEncrypt and should expire end of this month. Somehow it is not switching to the new one and I really need help here.
Things I discovered:
- postfix uses
/etc/ssl/certs/ssl-cert-snakeoil.pem
(and same name but .key) which is still the old certificate (no idea where this is put in from)
- working old letsencrypt cert is
SHA256withRSA
and new is SHA384withECDSA
Things I did:
- full restart
docker compose down
and docker compose up -d
- server restart
- verified that the cert name and alt names are the same (they are even in correct order)
I checked log files but I was unable to discover errors. All services are up and running but all are using the old certificate. Can someone please help me why it is not working?