Using fritzbox NAS as external storage

Dear all,
I want to use the fritzbox NAS as a external storage with ftps in my nc. I can access the fritzbox NAS over a normal ftp application, but when it’s coming to the nc, the nc always fails. Using not secure ftp is going very well. I think it is a problem with the self-signed certificate from the fritz box. Is there a way to import the self-signed certificate into the nc. In the docu there is only a link to an article from 2014.

I hope you can help me:)
Joshua

Not directly related with Nextcloud. Check how to import ssl certs on an linux host to establish trusted connections. The web is full of content about this.

on all other linux machine there is a possibility to trust it, only the nc there isn’t

A one minute ddg search brought this up:

https://docs.nextcloud.com/server/14/admin_manual/configuration_files/external_storage_configuration_gui.html

Have you read this page? Please do and see sections about ftp and self signed certs.

Yeah, I have read the page and http://ownclouden.blogspot.com/2014/11/owncloud-https-external-mount.html this too. The problem is, that in the nc14 there isn’t such an setting.

Just opened my NC 14.0.4 and enabled app for you.

Here is what it looks like:

So all settings are there described on mentioned page.

You did not included your environment information and nextcloud version.

Sorry for not mentioning the version. I use nc 14.04 on apache2 with mariadb on a raspberrypi with raspian.
I see you choose sftp. Is it not a complete different protocol to ftps?

is there really no solution for this problem?

Did anybody get this to work? Using Fritzbox attached USB drive as external storage in Nextcloud?

For those who have still the same problem: I finally find a solution:

Just import the certificate from the fritzbox into linux (If you installed Nextcloud e.g. on a vServer like i did)

  1. Copy your CA to “dir /usr/local/share/ca-certificates/”
    1.1 Use command: “sudo cp foo.crt /usr/local/share/ca-certificates/foo.crt”
  2. Update the CA store: “sudo update-ca-certificates”

EDIT:

Yeah so you can add the external storage now, but as soon as I want to connect to it, it seems that the FTP-Server of the fritzbox is crashing, because I cant connect for a few seconds from whatever device i try

I have a Nextcloud 24.0.12 in use and would like to connect an external storage.
The storage is behind my Fritzbox and is accessible.
Unfortunately, the connection to the storage always fails. Error message in the log OCP\Files\StorageNotAvailableException: Sabre\HTTP\ClientException: SSL certificate problem: self signed certificate.
I have already found a lot on this topic but somehow I have not been able to solve it so far.
I have the Nextcloud hosted at goneo.de and have no possibility to import the certificate in the OS. I have already placed my Fritzbox certificate in the folder nextcloud_root/config and also added it to the rootcerts. None of this helps. The problem is clear to me, I just don’t know where and how to tell Nextcloud to accept the certificate.

I can’t solve the problem with what I find here.
Is the solution just to import the certificate into the OS?
Best regards Dirk