50-5
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 50 X.509v3 Certificates for SSH Authentication
Configuration Examples for 509v3 Certificates for SSH Authentication
Configuration Examples for 509v3 Certificates for SSH
Authentication
•
Example: Configuring Digital Certificates for Server Authentication, page 50-5
•
Example: Configuring Digital Certificate for User Authentication, page 50-5
Example: Configuring Digital Certificates for Server Authentication
Switch>
enable
Switch#
configure terminal
Switch(config)#
ip ssh server algorithm hostkey x509v3-ssh-rsa
Switch(config)#
ip ssh server certificate profile
Switch(ssh-server-cert-profile)#
server
Switch(ssh-server-cert-profile-server)#
trustpoint sign trust1
Switch(ssh-server-cert-profile-server)#
exit
Example: Configuring Digital Certificate for User Authentication
Switch>
enable
Switch#
configure terminal
Switch(config)#
ip ssh server algorithm authentication publickey
Switch(config)#
ip ssh server algorithm publickey x509v3-ssh-rsa
Switch(config)#
ip ssh server certificate profile
Switch(ssh-server-cert-profile)#
user
Switch(ssh-server-cert-profile-user)#
trustpoint verify trust2
Switch(ssh-server-cert-profile-user)#
end
Step 7
Switch(ssh-server-cert-profile-user)#
trustpoint sign
PKI-trustpoint-name
Configures the public key infrastructure (PKI) trustpoint that is used
to verify the incoming user certificate.
Note
Configure multiple trustpoints by executing
the same command multiple times. A
maximum of 10 trustpoints can be configured.
Step 8
Switch(ssh-server-cert-profile-user)#
ocsp-response include
(Optional) Sends the Online Certificate Status Protocol (OCSP)
response or OCSP stapling along with the server certificate.
Note
By default, no OCSP response is sent along
with the server certificate.
Step 9
Switch(ssh-server-cert-profile-user)#
end
Exits SSH server certificate profile user configuration mode and
returns to privileged EXEC mode.
Command or Action
Purpose
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...