Open Mys7erio opened 11 months ago
The following error gets shown to users currently when trying to send mail using a third party service:
tls: failed to verify certificate: x509: certificate signed by unknown authority.
This is because although ca-certs are installed on the alpine container, it is not present on the final scratch based container which runs pocketbase.
The simple solution is to transfer the ca-certs to the final container before running the pocketbase service
Sending Mail Using an External Mailing Service Does Not Work
The following error gets shown to users currently when trying to send mail using a third party service:
The culprit
This is because although ca-certs are installed on the alpine container, it is not present on the final scratch based container which runs pocketbase.
Solution
The simple solution is to transfer the ca-certs to the final container before running the pocketbase service