Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow self signed certificates #191
It would be great if the desktop application would support self signed certificates for the Nextcloud integration. I didn't check the other apps yet. Of course it would be even better if all of them support self signed certificates.
I have the same issue. The Nextcloud instance is located in my local network and accessible via https, therefore it's not possible to get a Let's Encrypt certificate and I have to deal with self signed certificates.
I'm using the CLI client for MacOS in version 0.10.90 (prod), furthermore I would like to use the Android client (didn't test it so far).
While Laurent implements this issue, I am doing a workaround to make it work synchronization on a private nextcloud server.
I changed the nextcloud self certificate to another certificate signed by my own CA. Then I imported the CA public key to my android phone and linux desktop. Android client synchronization to nextcloud is now working fine, but joplin desktop client shows this error:
"request to https://mynextcloudserver/ failed, reason: unable to verify the first certificate (Code UNABLE_TO_VERIFY_LEAF_SIGNATURE)"
I don't understand why this error is happening, since I am not using any intermediate CA.
Checking if the CA is properly installed on the system:
$ openssl s_client -connect mynextcloudserver:443
SSL handshake has read 1646 bytes and written 380 bytes
referenced this issue
Mar 28, 2018
Well I am now able to use jopling using a nextcloud server on non standard port. You can use a DNS TXT register in order to verify lets encrypt domain.
added a commit
Jun 20, 2018
Installed version 1.0.103 under Ubuntu, found the new Options screen settings (Custom TLS certificates and Ignore TLS certificate errors) and added the path to my local root CA. Implementation is just what I hoped for: I can install my local root CA cert, and leave the ignore-errors option unchecked. One slight cleanup you might consider: there's a button on that screen to Check synchronisation configuration that doesn't pick up modified settings until you've exited and restarted the app.