LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Force CRIO to use TLS1.2

Hello,

 

How do I force my CRIO-9034, 9040, and 9048 to only accept TLS 1.2 for SSH?

 

Thanks

0 Kudos
Message 1 of 4
(554 Views)

@Gryffin wrote:

Hello,

 

How do I force my CRIO-9034, 9040, and 9048 to only accept TLS 1.2 for SSH?


Which LabVIEW version? Which SSH functions?

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 4
(486 Views)

After some reading, it seems that TLS is only used with HTTPS for the CRIO.

 

I want to make the web-based configuration page and ALL HTTPS connections (webdav, etc.) to the crio to be forced to a minimum version of TLS1.2.

 

LabVIEW 2024 Q1

 

 

0 Kudos
Message 3 of 4
(461 Views)
I believe I've found a way to force CRIOs to a minimum of TLSv1.2

 

 

  1. Use PuTTy (I use PuTTYPortable requiring no install) to SSH into a CRIO (let's say CRIO-1 for example)
  2. Login using the admin account
  3. Open openssl.cnf: vi /etc/ssl/openssl.cnf
  4. Scroll to the bottom: Shift-G
  5. Insert a new line: Shift-O
  6. Add: MinProtocol = TLSv1.2
  7. Press Escape, then type ":wq" (no quotes) and press enter to save changes and exit
  8. Restart CRIO, should be good

 

I've checked that this works by doing this:
  1. Open a linux terminal on the same network with openssl installed (I used another CRIO, lets says CRIO-2)
  2. Try this command: openssl s_client -connect CRIO-1:443 -tls1
    • If this command terminates (i.e. the shell allows you to input another command), then TLS1 is disabled
  3. Try this command: openssl s_client -connect CRIO-1:443 -tls1_1
    • If this command terminates (i.e. the shell allows you to input another command), then TLS1.1 is disabled
  4. Success!

 

Can anyone verify please?

 

Message 4 of 4
(439 Views)