sni-to-tls-mapping

This command configures the SNI To TLS Mapping table, which lets you define rules for mapping the 'server_name' in "client hello" messages to TLS Contexts (configured in the TLS Contexts table).

Syntax

(config-network)# sni-to-tls-mapping <Index>
(sni-to-tls-mapping-<Index>)# 

Command

Description

Index

Defines the table row index.

host-name

Defines the 'server_name' in the "client hello" message (case-insensitive).

tls-context

Assigns a TLS Context, listed in the TLS Contexts table, to this rule (case-sensitive).

Command Mode

Privileged User

Example

This example configures an SNI-to-TLS Context mapping rule that maps "client hello" messages whose 'server_name' extension is "My-Server", to TLS Context "My TLS":

(config-network)# sni-to-tls-mapping 0
(sni-to-tls-mapping-0)# host-name 'My-Server'
(sni-to-tls-mapping-0)# tls-context 'My TLS'