Skip to content

nextcloud-backup: option to accept self-signed certificates #3405

@spiral27

Description

@spiral27

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
I am running Nextcloud in my LAN with a self-signed certificate. Unfortunately, the nextcloud-backup plugin doesn't accept self-signed certificates so the backup fails.

Describe the solution you'd like
I would like a checkbox in the GUI as an option to accept self-signed certificates

Describe alternatives you've considered
I tried placing the certificate in /usr/local/share/certs but it didn't work

A clear and concise description of any alternative solutions or features you've considered.
As a workaround, I added:

CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false,

in the "curl_setopt_array" of /usr/local/opnsense/mvc/app/library/OPNsense/Backup/Nextcloud.php

It works but it will be overwritten on the next update...

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributor missingsupportCommunity support or awaiting triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions