P4G_TLS_PROTOCOL_VER
# set
<module-index>/<port-index> P4G_TLS_PROTOCOL_VER [<group_index>] <tls_version>
# get
<module-index>/<port-index> P4G_TLS_PROTOCOL_VER [<group_index>] ?
Description
Configures the desired TLS protocol version. More specifically the TLS version configured is the protocol version advertised by the client in the Client Hello message, and the highest TLS protocol version accepted by the server. If the protocol_version in the Client Hello message is higher than the highest protocol version accepted by the server, the TLS Handshake will fail.
Actions
set, get
Parameters
tls_version
: byte, the highest supported TLS protocol versionSSLV3 = 0
TLS10 = 1
TLS11 = 2
TLS12 = 3
Example
# set
input: 0/1 P4G_TLS_PROTOCOL_VER [0] SSLV3
output: <OK>
# get
input: 0/1 P4G_TLS_PROTOCOL_VER [0] ?
output: 0/1 P4G_TLS_PROTOCOL_VER [0] SSLV3