07-20-2022 02:01 PM
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.
07-20-2022 03:36 PM
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
07-20-2022 04:06 PM
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.
07-21-2022 04:22 AM - edited 07-21-2022 04:23 AM
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.
03-03-2023 04:03 AM
Hi Mark,
I am facing the same problem, have you found any solution for this ?