On a standlone Kodi instance (internal network) I have linuxserver.io nextcloud and mariadb addon running.
Now I want to add a nexcloud webdav resource to the kodi source path (for instance pictures/photos). This fails to work due to nextcloud self-signed certificate.
I searched the forum for clues on how to go about telling kodi to use (or ignore) the nexcloud certificate. This is what I did:
find /storage -iname cert.crt
/storage/.kodi/userdata/addon_data/docker.linuxserver.nextcloud/config/keys/cert.crt
cp /storage/.kodi/userdata/addon_data/docker.linuxserver.nextcloud/config/keys/cert.crt /storage/.config/
openssl x509 -in cert.crt -noout -text
openssl x509 -in cert.crt -out nextcloud.pem
cp nextcloud.pem cacert.pem
export SSL_CERT_FILE=/storage/.config/cacert.pem
systemctl restart kodi
ERROR: CCurlFile::Exists - Failed: SSL peer certificate or SSH remote key was not OK(60) for davs://USERNAME:PASSWORD@localhost:443/re
mote.php/webdav/files/USERNAME/Photos
Any ideas why this won't work?
PS: also tried the |verifypeer=false suffix (did not work)