Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. SMTP TLS Error

SMTP TLS Error

Added by Tim McIver about 5 years ago

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?


Replies (1)

RE: SMTP TLS Error - Added by André Scholz over 4 years ago

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
  • (1 - 1/1)
Loading...