Open link in a new tab

Content

Expand project menu

[SOLVED] svn connection with untrusted / self-signed SSL cert on local docker instance

I need to connect to a svn / subversion repo with a self-signed SSL cert from a docker installation. So I need to tell svn to accept even untrusted certs. There is a switch for this and in the OpenProject sources I found some lines handling this:

https://github.com/opf/openproject/blob/9a0d8883eb302158056dc767dd27c13c7b9579dc/lib/open_project/scm/adapters/subversion.rb#L251

I found out there was the env OPENPROJECT_SCM_SUBVERSION_TRUSTEDSSL for this but this doesn't seem to be supported in current versions (and isn't formed like current envs).

[...] "RAILS_ENV=production bundle exec rake setting:available_envs"

delivers this around the SCM module:

OPENPROJECT_SCM (default={})
OPENPROJECT_SCM__GIT__COMMAND (default=nil)
OPENPROJECT_SCM__LOCAL__CHECKOUT__PATH (default="repositories")
OPENPROJECT_SCM__SUBVERSION__COMMAND (default=nil)

So do I need to tweak the "configuration.yml" to achieve subversion: trustedssl: true ? If so, I would try to follow this: https://stackoverflow.com/questions/67940195/openproject-how-to-set-config-configuration-yml-in-docker-environment
Thanks

Message actions