-
Omnis 5: HTTPGet / HTTPPost to TLS 1.2 server
I found a blog post by Doug Easterbrook which appears to come close to answering the issue I have but having installed OpenSSL I am getting errors when trying to call a web service hosted on an HTTPS server using TLS 1.2 from my Omnis 5 code on Windows 10 so I think I am missing something.
The post is here: “https://forum.omnis.net/omnislist/httpget-request-secure-requests-5” and I have followed the steps (even tried installing the Win32 and Win64 versions of OpenSSL) and whilst the errors are different they all have the same cause by the look of it – I get:
WebDevGetSecureError = 3020:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:.\ssl\s23_clnt.c:658:
and
10084:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:.\ssl\s23_clnt.c:658:
with the obvious common message “SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version”. Now as I know the server I am connecting to is running TLS 1.2 I wonder if there is some way to configure OpenSSL that I am missing as it appears to be trying just “TLS 1”?
If there is anyone out there with experience of getting Omnis 5 to talk to a server running TLS1.2 I would love some help please.
Thanks
Dik.
Log in to reply.