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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Allow openproject to accept or ignore self-signed certificate while connecting to Nextcloud storage

Allow openproject to accept or ignore self-signed certificate while connecting to Nextcloud storage

Added by Михаил Кулаков over 2 years ago

I have Nextcloud and Openproject installed and working in local network with https. So I'm using self-signed certificates issued by using local CA certificate, which installed as trusted root certificate in system (Debian 11). Following this guide: https://www.openproject.org/docs/system-admin-guide/integrations/nextcloud/ I performed 1 step in nextcloud successfully, but stuck in second step "2. Create a Nextcloud file storage in your OpenProject instance": when I'm trying to save configuration it shows that there is a problem "cannot connect host". In logs I see such info: 

"Nextcloud server invalid host="https://nextcloud.example.com" error_type=cannot_be_connected_to: exception OpenSSL::SSL::SSLError: SSL_connect returned 1 errno=0 peeraddr=192.168.0.123:443 state=error: certificate verify failed (self signed certificate)"

So, how to force openproject to accept this certificate or ignore verification?


Replies (3)

RE: Allow openproject to accept or ignore self-signed certificate while connecting to Nextcloud storage - Added by Adam Szabo over 2 years ago

Please could you explain why you cannot create a signed certificate? lets encrypt is free to use for everyone.

Please do not work against security.

Browsers also do not allow self signed certs sooner or later... better to fulfill the requirements and create a signed certificate.

RE: Allow openproject to accept or ignore self-signed certificate while connecting to Nextcloud storage - Added by Karen Arzumanyan over 2 years ago

I have the same problem. It is very necessary to disable ignoring the self-signed certificate.

Because there is no lets encrypt or similar on the local network (without the Internet) .

RE: Allow openproject to accept or ignore self-signed certificate while connecting to Nextcloud storage - Added by Sven Zimmermann almost 2 years ago

Same problem here. My NC uses lets-encrypt:

There https://community.openproject.org/topics/17124?r=17124 is a similar problem. The solution there did not work for my problem, but this did the job:
https://gist.github.com/Lukas238/a27956da42eae5d082a04fe0f493a9e0

  • (1 - 3/3)
Loading...