web-cert-info-show
You can perform TLS certificate management for the NetVisor OS Web service. For HTTPS communication between a REST API client, and the Web application server running on the switch, you must configure a server certificate, and deploy it on the Web application server.
Syntax web-cert-info-show
cert-type ca|intermediate|server |
The type of the CA Certificate. |
subject subject-string |
The subject in the Certificate file. |
issuer issuer-string |
The issuer of the intermediate CA Certificate file. |
serial-number serial-number-number |
The serial number in the Certificate file. |
valid-from valid-from-string |
The valid from date in the Certificate file. |
valid-to valid-to-string |
The valid to date in the Certificate file. |
Defaults None
Access Network admin
History
Version 2.4.1 |
Command introduced. |
Usage Use this command to display certificates in the OS.
Examples To display a Web certificate, use the following syntax:
CLI (network-admin@switch) > web-cert-info-show
switch: switch1
cert-type: ca
subject: /C=se/ST=Stockholm/L=na/O=Ericsson/OU=TPC/CN=DN
issuer: /C=se/ST=Stockholm/L=na/O=Ericsson/OU=TPC/CN=DN
serial-number: 1
valid-from: Feb 2 00:40:39 2022 GMT
valid-to: Feb 2 00:40:39 2023 GMT
status: