SQL Anywhere cannot download an HTTPS remote certificate directly. You need to either have it available already and provide it to SQL Anywhere in your SQL scripts or you can optionally download it dynamically with a separate external client (like openssl s_client) and launch the client from SQL Anywhere (e.g. using xp_cmdshell) and then refer to the client's output. There are examples on how to use
Comment Text Removed
I have tried your code and get: The secure connection to the remote host failed: The TLS handshake failed, error code 0 SQLCODE -990 I have to use a proxy connection but that seams not to be the problem. This is the Web Client Log
The certificate File was generated on a linux host and contains
(22 May '15, 09:16)
Thomas Dueme...
Replies hidden
Comment Text Removed
The root certificate should be: You can see this in the regular
(22 May '15, 11:05)
Jeff Albion
So I don't use the .pem File I have created based on you command line? I use the downloaded one ? Or do I have to include both in the .pem 'file=c:\temp\opensapcom.pem' ? Thanks again.
(28 May '15, 10:23)
Thomas Dueme...
|
Is that a question related to SAP Sybase SQL Anywhere?
Yes,
Cause i want to get the certificate string using sql anywhere.
Thank you