DataScript: avi.ssl.set_ssl_profile

DataScript

Function avi.ssl.set_ssl_profile(<SSL Profile Name>)
Description This function is used to change the SSL profile to a different profile based on some factors like Client IP, TLS servername, and more.
Events VS_DATASCRIPT_EVT_CLIENT_SSL_PRE_CONNECT
VS_DATASCRIPT_EVT_CLIENT_SSL_CLIENT_HELLO
Parameter Name of the SSL Parameter
Returns None
Example

if avi.ssl.server_name() == "legacy.example.com" then
 avi.ssl.set_ssl_profile("legacy_ssl_profile") end 
Here, if avi.ssl.server_name() points to legacy.example.com, then the profiles for those TLS connections will be changed to legacy_ssl_profile.