LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

START TLS function Error 42

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.

 

0 Kudos
Message 1 of 4
(703 Views)
  • Don't use code tags for plain questions.
  • You did not attach any image as promised.
0 Kudos
Message 2 of 4
(671 Views)

Labview.PNG

0 Kudos
Message 3 of 4
(645 Views)

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

0 Kudos
Message 4 of 4
(538 Views)