Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to fix CURL error 60/53 on connecting to server?
Answer: You probably connect with SSL and you have no valid certificate.
dim d as new CURLSMBS

// Disable SSL verification
d.OptionSSLVerifyHost = 0 // don't verify server
d.OptionSSLVerifyPeer = 0 // don't proofs certificate is authentic

// With SSL Verification:
dim cacert as FolderItem = Getfolderitem("cacert.pem")
d.OptionCAInfo = cacert.UnixpathMBS
d.OptionSSLVerifyHost = 2 // verify server
d.OptionSSLVerifyPeer = 1 // proofs certificate is authentic
You can either use the code above to disable the SSL verification and have no security.
Or you use the cacert file and enable the verification. Than you only get a connection if the server has a valid certificate.

see also:

Feedback, Comments & Corrections

The biggest plugin in space...

MBS FileMaker tutorial videos