Users Guide

Table Of Contents
rest https cipher-suite
Limits the ciphers to encrypt and decrypt REST HTTPS data.
Syntax
rest https cipher-suite cipher-list
Parameters cipher-list Enter the ciphers supported in a REST API HTTPS session. Separate multiple entries
with a blank space. Valid cipher suites are:
dhe-rsa-with-aes-128-gcm-SHA256
dhe-rsa-with-aes-256-gcm-SHA384
ecdhe-rsa-with-aes-128-gcm-SHA256
ecdhe-rsa-with-aes-256-gcm-SHA384
Default All cipher suites installed with OS10 are supported.
Command Mode CONFIGURATION
Usage
Information
Use the rest https cipher-suite command to restrict the ciphers that a RESTCONF HTTPS
session uses.
The no version of the command removes the cipher list and restores the default value.
Example
OS10(config)# rest https cipher-suite dhe-rsa-with-aes-128-gcm-SHA256
dhe-rsa-with-aes-256-gcm-SHA384 ecdhe-rsa-with-aes-256-gcm-SHA384
Supported
Releases
10.4.1.0 or later
rest https server-certificate
Creates the SSL self-signed server certificate a RESTCONF HTTPS connection uses.
Syntax
rest https server-certificate name hostname
Parameters name hostname Enter the IP address or domain name of the OS10 switch.
Default The OS10 switch domain name is used as the hostname.
Command Mode CONFIGURATION
Usage
Information
The no version of the command removes the host name from the SSL server certificate.
Example
OS10(config)# rest https server-certificate name 10.10.10.10
Supported
Releases
10.4.1.0 or later
rest https session timeout
Configures the timeout a RESTCONF HTTPS connection uses.
Syntax
rest https session timeout seconds
Parameters seconds Enter the switch timeout for an HTTPS request from a RESTCONF client, from 30 to 65535
seconds.
Default 30 seconds
Command Mode CONFIGURATION
Usage
Information
If no HTTPS request is received within the configured time, the switch closes the RESTCONF HTTPS
session.
1522 RESTCONF API