The peer ssl-policy name command applies an SSL policy to an SSL client or server.
The peer ssl-policy disable command disables an SSL policy applied to an SSL client or server.
The undo peer ssl-policy name command cancels the configuration of applying an SSL policy to an SSL client or server.
The undo peer ssl-policy disable command restores the default configuration and takes effect only when the peer ssl-policy disable command is run.
By default, no SSL policy is applied to an SSL client or server.
Parameter | Description | Value |
---|---|---|
ipv4-address |
Specifies the IPv4 address of a BGP peer. |
The value is in dotted decimal notation. |
ipv6-address |
Specifies the IPv6 address of a peer. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
name ssl-policy-name |
Specifies the name of an SSL policy. |
The value is a string of 1 to 23 case-insensitive characters. It cannot contain spaces. |
disable |
Disables an SSL policy applied to an SSL client or server. |
- |
Usage Scenario
The Secure Sockets Layer (SSL) protocol protects data privacy on the Internet by preventing attackers from eavesdropping on data exchanged between a client and a server. Specifically, to ensure data transmission security on a network, an SSL policy needs to be applied to an SSL client or server using the peer ssl-policy name command, and SSL data encryption, identity authentication, and message integrity verification mechanisms need to be used.
Prerequisites
An SSL policy has been created using the ssl policy command, and a peer relationship has been established using the peer as-number command.
Precautions
The same SSL policy cannot be applied to different SSL roles.
The SSL policy configuration for a peer takes precedence over that for a peer group to which the peer belongs. SSL/TLS authentication takes effect only when SSL client and server roles are specified, SSL policies are applied to the client and server, and SSL/TLS authentication is enabled on the server (SSL/TLS authentication is not required on the client).