Hi all,
I tried to setup csweb using apache in xamp. In the Setup configuration details, it returned this error.
Failed to contact API server https://192.168.1.20/csweb/api/ : cURL error 60: SSL certificate problem: self-signed certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://192.168.1.20/csweb/api/token
I am not planning to use the csweb server over the internet. Just want to set it up locally with https.
Is there a way around this.
Regards,
Samuel
certificate
-
- Posts: 237
- Joined: November 21st, 2022, 4:41 pm
Re: certificate
Hello,
This problem appears to be caused by the self-signed certificate. Take a look at this post (viewtopic.php?t=4550), particularly the included link to this prior post (viewtopic.php?t=2595).
Hope this helps,
Justin
This problem appears to be caused by the self-signed certificate. Take a look at this post (viewtopic.php?t=4550), particularly the included link to this prior post (viewtopic.php?t=2595).
Hope this helps,
Justin
-
- Posts: 11
- Joined: August 4th, 2023, 11:13 am
Re: certificate ----Failed to contact API server
Thanks Justing,
Correct me if i am wrong those solutions you referred me to are good for once you successfully configured the csweb server with https. And the mobile devices are having issues with the synchronization related to certificates.
I should have titled my posted with this error " Failed to contact API server.....". i have configure the csweb server with http:// successfully. When i reverted to https is when the problem arises. Not good at explaining but i hope i have made myself clear.
thanks,
Samuel
Correct me if i am wrong those solutions you referred me to are good for once you successfully configured the csweb server with https. And the mobile devices are having issues with the synchronization related to certificates.
I should have titled my posted with this error " Failed to contact API server.....". i have configure the csweb server with http:// successfully. When i reverted to https is when the problem arises. Not good at explaining but i hope i have made myself clear.
thanks,
Samuel
-
- Posts: 237
- Joined: November 21st, 2022, 4:41 pm
Re: certificate
Hello,
Check if you can access with https from a different computer. If not, your https is not setup right, and you may need to reconfigure. If it works, then you need to check if it works on a newer Android device. This may also have to do with some security updates not being on Android devices.
Hope this helps,
Justin
Check if you can access with https from a different computer. If not, your https is not setup right, and you may need to reconfigure. If it works, then you need to check if it works on a newer Android device. This may also have to do with some security updates not being on Android devices.
Hope this helps,
Justin
-
- Posts: 11
- Joined: August 4th, 2023, 11:13 am
Re: certificate
setting up the csweb server wtih https failed. It is still complaining with "Failed to contact API server....". Since i am not going to sync data from outside our network, I will stick with the working "http"configuration of the server for now.
I appreciate your help.
Regards,
Sami
I appreciate your help.
Regards,
Sami