
350
# Set the packet encapsulation mode to
tunnel
.
[SwitchA-ipsec-transform-set-tran1] encapsulation-mode tunnel
# Use the ESP protocol for the IPsec transform set.
[SwitchA-ipsec-transform-set-tran1] protocol esp
# Specify the encryption and authentication algorithms.
[SwitchA-ipsec-transform-set-tran1] esp encryption-algorithm des-cbc
[SwitchA-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[SwitchA-ipsec-transform-set-tran1] quit
# Create a PKI entity named
entity1
.
[SwitchA] pki entity entity1
# Set the common name to
switcha
for the PKI entity.
[SwitchA-pki-entity-entity1] common-name switcha
[SwitchA-pki-entity-entity1] quit
# Create a PKI domain named
domain1
.
[SwitchA] pki domain domain1
# Set the certificate request mode to
auto
and set the password to
123
for certificate revocation.
[SwitchA-pki-domain-domain1] certificate request mode auto password simple 123
# Set an MD5 fingerprint for verifying the validity of the CA root certificate.
[SwitchA-pki-domain-domain1] root-certificate fingerprint md5
50c7a2d282ea710a449eede6c56b102e
# Specify the trusted CA 8088.
[SwitchA-pki-domain-domain1] ca identifier 8088
# Specify the URL of the registration server for certificate request through the SCEP protocol.
This example uses the URL of
http://192.168.222.1:446/eadbf9af4f2c4641e685f7a6021e7b298373feb7.
[SwitchA-pki-domain-domain1] certificate request url
http://192.168.222.1:446/eadbf9af4f2c4641e685f7a6021e7b298373feb7
# Specify the CA to accept certificate requests.
[SwitchA-pki-domain-domain1] certificate request from ca
# Specify the PKI entity for certificate request as
entity1
.
[SwitchA-pki-domain-domain1] certificate request entity entity1
# Specify the RSA key pair
rsa1
with the
general
purpose for certificate request.
[SwitchA-pki-domain-domain1] public-key rsa general name rsa1
[SwitchA-pki-domain-domain1] quit
# Create an IKEv2 profile named
profile1
.
[SwitchA] ikev2 profile profile1
# Specify the local authentication method as RSA signatures.
[SwitchA-ikev2-profile-profile1] authentication-method local rsa-signature
# Specify the remote authentication method as RSA signatures.
[SwitchA-ikev2-profile-profile1] authentication-method remote rsa-signature
# Specify the PKI domain
domain1
for the IKEv2 profile.
[SwitchA-ikev2-profile-profile1] certificate domain domain1
# Set the local ID to the FQDN name
www.switcha.com
.
[SwitchA-ikev2-profile-profile1] identity local fqdn www.switcha.com
# Specify the peer ID that the IKEv2 profile matches. The peer ID is the FQDN name
www.routerb.com
.
[SwitchA-ikev2-profile-profile1] match remote identity fqdn www.routerb.com
Содержание 10500 series
Страница 326: ...312 No duration limit for this SA ...