To use the online configuration method to set up digital certificates on the router:
- host1(config)#ipsec key generate rsa 2048
- Please wait.................................................
- ..........................
- IPsec Generate Keys complete
- host1(config)#ipsec ike-policy-rule 1
- host1(config-ike-policy)#authentication rsa-sig
- host1(config-ike-policy)#exit
![]() |
Note: For more information about setting up IKE policies, see Defining an IKE Policy in Configuring IPSec. |
- host1(config)#ipsec ca identity trustedca1
- host1(config-ca-identity)#
- host1(config-ca-identity)#issuer-identifier
BetaSecurityCorp
- host1(config-ca-identity)#enrollment url http://192.168.99.105/scepurl
- host1(config-ca-identity)#crl ignored
- host1(config-ca-identity)#enrollment retry-period
5
- host1(config-ca-identity)#enrollment retry-limit
60
- host1(config-ca-identity)#root proxy url http://192.168.5.45
- host1(config-ca-identity)#exit
- host1(config)#ipsec ca authenticate trustedca1
- host1(config)#ipsec ca enroll trustedca1 My498pWd
authentication
- host1(config-ike-policy)#authentication rsa-sig
crl
- host1(config-ca-identity)#crl ignored
enrollment retry-limit
- host1(config-ca-identity)#enrollment retry-limit
200
enrollment retry-period
- host1(config-ca-identity)#enrollment retry-period
40
enrollment url
- host1(config-ca-identity)#enrollment url http://192.168.99.105/scepurl
ipsec ca authenticate
- host1(config)#ipsec ca authenticate trustedca1
- host1(config)#INFO 10/18/2003 03:45:16 ikeEnrollment ():
Received CA certificate for ca:trustedca1
- INFO 10/18/2003 03:45:16 ikeEnrollment (): Received CA
certificate for ca:trustedca1 fingerprint:28:19:ba:76:d8:e0:bb:22:60:cd:b9:2d:dc:b8:58:01
- host1(config)#
ipsec ca enroll
- host1(config)#ipsec ca enroll trustedca1 My498pWd
- host1(config)#INFO 10/18/2003 03:49:33 ikeEnrollment ():
Received erx certificate for ca:trustedca1
- host1(config)#
ipsec ca identity
- host1(config)#ipsec ca identity trustedca1
- host1(config-ipsec-identity)#
ipsec ike-policy-rule
- host1(config)#ipsec ike-policy-rule 3
- host1(config-ike-policy)#
![]() |
Note: This command replaces the ipsec isakmp-policy-rule command, which may be removed completely in a future release. |
ipsec isakmp-policy-rule
- host1(config)#ipsec isakmp-policy-rule 3
- host1(config-ike-policy)#
![]() |
Note: This command has been replaced by the ipsec ike-policy-rule command and may be removed completely in a future release. |
ipsec key generate
- host1(config)#ipsec key generate rsa 2048
- Please wait.................................................
- ..........................
- IPsec Generate Keys complete
ipsec key zeroize
- host1(config)#ipsec key zeroize rsa
issuer-identifier
- host1(config-ca-identity)#issuer-identifier
BetaSecurityCorp
root proxy url
- host1(config-ca-identity)#root proxy url http://192.168.5.45