2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Obtain the highest version of TLS supported by OpenSSL/TLS

This commit is contained in:
Wai Yee Wong 2022-06-08 14:55:02 -04:00
parent a682cb0273
commit de9d218c43

View File

@ -30,6 +30,10 @@ cmd:diff /tmp/known_host_keys /tmp/current_os_host_keys
check:output!~>
cmd:rm -f /tmp/known_host_keys /tmp/current_os_host_keys
check:rc==0
# Obtain the highest version of TLS supported by OpenSSL/TLS.
cmd:openssl s_client --help 2>&1 | grep "\-tls1" | awk '{print $1}' | sort | tail -1
check:rc==0
end
start:install_xCAT_on_ubuntu
@ -76,4 +80,8 @@ cmd:diff /tmp/known_host_keys /tmp/current_os_host_keys
check:output!~>
cmd:rm -f /tmp/known_host_keys /tmp/current_os_host_keys
check:rc==0
# Obtain the highest version of TLS supported by OpenSSL/TLS.
cmd:openssl s_client --help 2>&1 | grep "\-tls1" | awk '{print $1}' | sort | tail -1
check:rc==0
end