Open link in a new tab

Content

Expand project menu

SMTP TLS Error

Hello,

I recently discovered OpenProject.  Great application!  Keep up the good work!

I've got it running locally via Docker and everything seems to be working well except for when I attempt to send an invitation to a new user.  An email does not get sent and I see the following in the Docker logs:

FAILED (0 prior attempts) with OpenSSL::SSL::SSLError: hostname "localhost" does not match the server certificate

I've configured an SMTP server using environment variables. I've read this page and attempted to set smtp_openssl_verify_mode using environment variables. I tried setting both OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE as well as SMTP_OPENSSL_VERIFY_MODE to "none" to no avail.

Any suggestions to fix this?

Message actions

I started the docker container with 

docker run -d -p 80:80 --name openproject -e  SECRET_KEY_BASE=mySecret -v /var/lib/openproject/pgdata:/var/openproject/pgdata -v /var/lib/openproject/assets:/var/openproject/assets -e SMTP_OPENSSL_VERIFY_MODE=none  openproject/community:11