nc-userimporter icon indicating copy to clipboard operation
nc-userimporter copied to clipboard

<sslverify>False</sslverify

Open gnosisd opened this issue 2 years ago • 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 :)

gnosisd avatar Jan 04 '23 11:01 gnosisd

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).

t-markmann avatar May 16 '24 08:05 t-markmann

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

CI-IT avatar Aug 06 '24 14:08 CI-IT