[solved] OPNsense config backup to Nextcloud does not like self-signed SSL cert

Started by joshgreyz, May 23, 2025, 07:52:16 PM

Previous topic - Next topic
Version running: OPNsense 25.1.7_4-amd64

I have searched around the web and around this forum, but I am still unable to find a solution.

I previously had this working with a Nextcloud server that just used http on port 80 and it worked well. Unfortunately, that Nexcloud crashed so I had to setup a new one and used a self-signed SSL cert for more protection on my local network. This Nextcloud server is internal, so it does not have a FQDN and therefore is not able to use Let's Encrypt for SSL certs.

I know "You have to create an app password and use that instead of the password of your username" as this thread also indicates https://forum.opnsense.org/index.php?msg=149140

I came across this old Issue on Github for "nextcloud-backup: option to accept self-signed certificates", but it was closed by the OPNsense-bot many years ago.

What am I missing?

You could try to create a CA either manually with OpenSSL or directly on OPNsense, then create a cert for your Nextcloud with that CA. If the CA is on OPNsense, anyway, that should do it. If you run it externally, then import the CA cert to OPNsense.

Never done that, but in theory that is how it is supposed to work.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thank you very much! What you suggested worked and now everything appears to be functioning again. The help is much appreciated.