Jump to content

TCP with TLS (SSL)


Recommended Posts

Hello all,

I am currently trying to create an HTTPS server with LabVIEW.

I have been using the built in TCP VI's for communication with the server and client, however I would like to use SSL or TLS in order to encrypt the data that is being sent across the connection. I know that I can point to either the self-signed cert that comes packaged with LabVIEW, or the certificate that we have for our server on-site.

I'm fairly certain that I can achieve this by building an assembly in .NET, and then using it in LabVIEW. I have looked around for TCP with TLS libraries for LabVIEW but could only found some out-of-date ones that didn't work with the newest version of LabVIEW. Do these libraries exist somewhere? And if not, is the .NET approach a solid idea?

Thanks,

Brandon Jones

Link to comment
  • 1 year later...
  • 5 years later...
On 12/9/2013 at 6:34 PM, Runjhun said:

I have done this. You dont get any support from LabVIEW except the .net constructor nodes.

I have downloaded the code for the SSL based TCP server and converted that to LabVIEW code with the help of System and mscorlib dll.

 

Regards,

Runjhun.

Can you share some examples if available?

Link to comment
On 11/15/2012 at 11:21 PM, ShaunR said:

Are the HTTPS VIs that are shipped with LabVIEW 2010 and later not of any use?

I'm afraid they aren't. The according palette isn't called "HTTP Client" for no reason. Implementing TLS on a listener (server) isn't that much different when using OpenSSL on C programming level but it does require a bit of a different setup than when implementing it on a client connection. And the glue to map it to a system similar to the standard LabVIEW network functions does get a little more complicated.

Link to comment
1 hour ago, Rolf Kalbermatter said:

I'm afraid they aren't. The according palette isn't called "HTTP Client" for no reason. Implementing TLS on a listener (server) isn't that much different when using OpenSSL on C programming level but it does require a bit of a different setup than when implementing it on a client connection. And the glue to map it to a system similar to the standard LabVIEW network functions does get a little more complicated.

You'd think I would've known that since I produced a toolkit to do exactly that...lol.

Edited by ShaunR
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.