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

      OpenProject ID 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. Disable SMTP SSL

Disable SMTP SSL

Added by Alex Ward about 3 years ago

Hi,

I have recently installed OpenProject on Ubuntu using the RPM installation.

However I am unable to get SMTP with SSL working, receiving the error message "hostname does not match the server certificate"

This error is faulty to begin with, as the server does have a valid wildcard certificate for the domain, and I have no issue using this server with SSL in other services such as GitLab or Airflow. Only OpenProject seems to have this problem.

But, at this point I can't be bothered trying to resolve it, so I would just like to disable SSL verification. However that does not work at all.

I have tried setting the environment variable in /etc/openproject/conf.d/smtp:

export SMTP_OPENSSL_VERIFY_MODE="none"

Followed by restarting the service. This has no effect. If I run openproject configure, the variable is removed from conf.d/smtp.

I have also tried setting the variable via openproject config:set. Again this has no effect. I have tried both SMTP_OPENSSL_VERIFY_MODE and OPENPROJECT__SMTP__OPENSSL__VERIFY__MODE.

/etc/openproject/installer.dat does not show that this variable has been taken into account (it is entirely missing).

How do I disable SMTP SSL verification on an RPM installation in Linux?


Loading...