Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Omnis 5: HTTPGet / HTTPPost to TLS 1.2 server

  • Omnis 5: HTTPGet / HTTPPost to TLS 1.2 server

    Posted by Dik Langan on September 11, 2020 at 5:54 pm

    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.

    Scott replied 3 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Scott

    Member
    September 17, 2020 at 4:58 pm

    I’m not certain about Omnis 5, but when we were using Omnis 4.3.2.1 we had to build our own external in order to send TLSv1.2 https calls. It’s likely that Omnis 5 is similar from the look of it can only use TLS v1.0 without the use of an external.

Log in to reply.