Can I select a specific Cipher Suite for TLS encryption when configuring an SMTP server with LabVIEW?

Updated Aug 20, 2024

Issue Details

I have an SMTP Server VI in LabVIEW. How can I specify a particular Cipher Suite for the TLS encryption used by the SMTP client?
 

Solution

The standard LabVIEW TLS VIs do not offer a direct method to specify a particular Cipher Suite. Instead, the handshake process, which occurs in the background, automatically negotiates the most suitable Cipher Suite based on the options supported by both the client and the LabVIEW server.

For more precise control over cipher suites or other TLS settings, it is advisable to use OpenSSL. Here’s how it works:

  • LabVIEW manages the SMTP.
  • OpenSSL handles the underlying TLS connection, including the negotiation and management of cipher suites.
  • You can invoke OpenSSL commands from LabVIEW using the System Exec VI.

This approach allows for finer control over the TLS configuration beyond what is available with standard LabVIEW VIs.

Additional Information

Find out which Cipher Suites are supported by LabVIEW: What are the Supported Ciphers by LabVIEW TLS VIs? - NI