t-markmann/nc-userimporter

<sslverify>False</sslverify

Opened this issue · 2 comments

hello so i am an ip based server and trying to run the importer...i did try and changed to False the sslverify but i still get the error
HTTPSConnectionPool(host='xxx.xxx.xxx', port=443): Max retries exceeded with url: /ocs/v1.php/cloud/groups?search=Lehrkraefte (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1056)')))

i did not change anything else part for what was needed to change since i want to test the existing file first and then add my own...
seems a problem with the ssl certification !!!

please someone pass me some knowledge :)

Hi, for clarification: this script will not work without any TLS/SSL encryption.
So if you try to create users in your Nextcloud like http://99.88.77.66 this will not work.
It's simly not a good idea to send credentials over unencrypted connection. So TLS/SSL is default and can not be disabled.

But you can create an own certificate and enable it in your webserver configuration.
So an selfsigned/unsigned certificate would work (https://99.88.77.66).

CI-IT commented

Hi.
Similar Issue here. Webserver has valid letsencrypt certificate.
But error message is:
Max retries exceeded with url: /ocs/v1.php/cloud/groups?search=XXXXX (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1056)')))

Certificate is valid until 2. September