05-31-2023 07:33 AM
Hi there,
I am trying to make a TCP communication using certificates to encrypt the connection.
For this I am using the TLS blocks to be able to add the certificates to the TCP connection.
Everything does it correctly except the START TLS block, which continually gives me error 42.
It doesn't specify much about this error, so I would like you to help me solve it.
Attached image of vi.
05-31-2023 10:20 AM
06-01-2023 03:19 AM
07-06-2023 07:58 AM - edited 07-06-2023 08:19 AM
I recently had this error. In my case "generic error" had to be read "server-side error". The issue was on the server I was not running Accept TLS on the connection provided by TCP Wait On Listener.
Have you already given a look to the example TLS Client and Server with Self-Signed Server Certificate.vi?
Hope it helps.
Cheers