Author Topic: LazWebsockets with TLS  (Read 451 times)


  • New Member
  • *
  • Posts: 11
LazWebsockets with TLS
« on: September 20, 2021, 12:26:42 pm »
I am investigating the LazWebsockets Package which hints, that it is possible to implement TLS via TSocketHandler (TOpenSSLSocketHandler/TSSLSocketHandler?)

In the examples, there is a chatclient which I want to use with TLS (OpenSSL). So far I have no luck. There are many units like:

Code: Pascal  [Select][+][-]
  1.   sslsockets,
  2.   openssl, { This implements the procedure InitSSLInterface }
  3.   opensslsockets

  When I create a new SSL SocketHandler, it gives me an error:
'ESSLSocketError' with message:
Cannot create a X509 certificate without SLL support

How do I implement this properly?

Thank you very much in advance!


TinyPortal © 2005-2018