ownCloud-for-KODI icon indicating copy to clipboard operation
ownCloud-for-KODI copied to clipboard

Self-signed certificates don't work.

Open fatino opened this issue 9 years ago • 6 comments

ERROR: owncloud: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

I imported the certificate using ca-certificates but still the same problem. I guess python handles ssl certificates his own way.

fatino avatar Jul 22 '15 16:07 fatino

Can you provide a link the instructions you followed to create the certificates?

ddurdle avatar Jul 24 '15 22:07 ddurdle

Create? I got the certificate from my owncloud site. Extracted it using Chrome. I did it using openssl also I think. You mean on the server? Classic self-signed certificate I guess.

fatino avatar Jul 27 '15 21:07 fatino

If I try to reproduce the issue using a self-signed certificate, I want to make sure I created it and loaded it the same method.

There seems to be a method in python to ignore validating the certificate. I can add this option.

ddurdle avatar Jul 27 '15 22:07 ddurdle

Would be really nice, I was trying to find something on my own but Im not python person :) I can give you instructions for self signed later this day but I dont think it makes a difference what kind of encription it has etc. EDIT: http://www.akadia.com/services/ssh_test_certificate.html

fatino avatar Jul 29 '15 16:07 fatino

Python community recommends upgrading Python on systems afflicted with this verification issue,rather than update and make python code insure by skipping validation of certificates. Please upgrade Python on your KODI instance and reopen if necessary.

ddurdle avatar Dec 31 '15 19:12 ddurdle

Hi, I'm not sure if this question is related with self signed certificates, but this issue is referenced with #15 I give this message when I try to access to my owncloud using this addon:

login information incorrect or permission is denied

I have owncloud version 9.1.2 from appliance installer using self signed certificates from cacert.org.

I see this messages in the kodi.log

20:05:41 90455.687500 T:1305474032 ERROR: owncloud: login failed 20:05:41 90455.835938 T:1305474032 ERROR: owncloud: HTTP Error 401: Unauthorized

I'm sure that the login information is correct

Kodi version 16.1 from OSMC running on raspberry pi :´(

fgarpe avatar Nov 29 '16 19:11 fgarpe