LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TLS with Client Certificate

How can I add a client certificate to a TLS connection? I am using LabVIEW 2020 and I am connecting to a server that requires a client certificate. I am not seeing how to add the client certificate. For HTTPS and SMTP there is a configure TLS vi which includes an input for the client certificate however I do not see that in the base level TLS VIs.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 1 of 5
(1,245 Views)

I haven’t used them yet but aren’t these functions what you need? 
https://www.ni.com/docs/en-US/bundle/labview-2020/page/lvcomm/tls_functions.html

 

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(1,222 Views)

Yes, those are the VIs we are using however I don't see any way to specify the client certificate. I can add a CA certificate. I can add a private key but I cannot define the client certificate. If you look at the network trace the client hello packet includes a section for the client certificate but it is always empty.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 3 of 5
(1,212 Views)

Then I have to defer this to someone else, hopefully someone from the LabVIEW team will see this. It very well might have simply been forgotten.

 

If a third party Toolkit would be an option you might want to take a look at the LabVIEW Encryption Compendium. It’s a fairly extensive library supporting IPv6 and TLS among more specific pure encryption functions.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 5
(1,192 Views)

Hi Mark,

I am facing the same problem, have you found any solution for this ?

0 Kudos
Message 5 of 5
(970 Views)