I'm trying to synchronize a client Ultralite database with the server using TLS communication. The .udb file does not have a certificate, but I am referencing a valid certificate using the trusted_certificate parameter. I have tried using the certificate file on the Documents folder and on the application bundle, but none of these have worked.
I always get the following error: -1305
Is there anyway to get this working?
asked 29 May '13, 09:43
For version 12, the trusted_certificate parameter must name the bare filename. UL will search for it in the app's resource bundle. (If you include the certificate in your Xcode project, it should be packaged automatically in the resource bundle.)
For version 16, if you specify a name which resolves to a file directly (i.e., a full path or a name relative to your working directory), that file will be opened, and otherwise the resource bundle is searched as before.
answered 30 May '13, 15:18