2023-03-20, 01:34
Hi,
I have the latest version of KODI (Nexus) on Windows and Android.
Unfortunately, on both, I can't connect to my NAS (Synology) via WebDaV (HTTPS), because I have a self-signed certificate.
I have seen, on the KODI Wiki, that I can add my self-signed certificate to the trust store:
"Kodi includes its own bundle of default trusted certificate authorities in the file system/certs/cacert.pem of the Kodi installation.
1) Copy the file to a new location
2) Add your certificate (in PEM format) to the end of the new file
3) Set the environment variable SSL_CERT_FILE to the location of that new file"
-> I have understood that I have to copy the file "cacert.pm" on a new location, right?
-> And then, I have to insert my certificate (PEM format) to the end of the "cacert.pm" file...Right?
But I haven't understood this step:
"Set the environment variable SSL_CERT_FILE to the location of that new file"
-> Where am I supposed to set this "SSL_CERT_FILE"?
-> Moreover, if I disable the check for certificates (with adding "|verifypeer=false" to the end of the URL or remote path of my source), the connection between my phone and my NAS (WebDav HTTPS) will still encrypted or not?
(I have added "|verifypeer=false" to the end of remote path of my source, but I still can't open it...)
Thank you in advance.
I have the latest version of KODI (Nexus) on Windows and Android.
Unfortunately, on both, I can't connect to my NAS (Synology) via WebDaV (HTTPS), because I have a self-signed certificate.
I have seen, on the KODI Wiki, that I can add my self-signed certificate to the trust store:
"Kodi includes its own bundle of default trusted certificate authorities in the file system/certs/cacert.pem of the Kodi installation.
1) Copy the file to a new location
2) Add your certificate (in PEM format) to the end of the new file
3) Set the environment variable SSL_CERT_FILE to the location of that new file"
-> I have understood that I have to copy the file "cacert.pm" on a new location, right?
-> And then, I have to insert my certificate (PEM format) to the end of the "cacert.pm" file...Right?
But I haven't understood this step:
"Set the environment variable SSL_CERT_FILE to the location of that new file"
-> Where am I supposed to set this "SSL_CERT_FILE"?
-> Moreover, if I disable the check for certificates (with adding "|verifypeer=false" to the end of the URL or remote path of my source), the connection between my phone and my NAS (WebDav HTTPS) will still encrypted or not?
(I have added "|verifypeer=false" to the end of remote path of my source, but I still can't open it...)
Thank you in advance.