![]() |
Internet Key Exchange for IPsec VPNs Configuration Guide, Cisco IOS XE Release 3S
|
||||||||||||||||||||||||||||||||||||
Distinguished Name Based Crypto Maps
![]() |
|||||||||||||||||||||||||||||||||||||
Contents
Distinguished Name Based Crypto MapsLast Updated: December 3, 2012
The Distinguished Name Based Crypto Maps feature allows you to set restrictions in the router configuration that prevent peers with specific certificates--especially certificates with particular DNs-- from having access to selected encrypted interfaces.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for Distinguished Name Based Crypto MapsBefore configuring a distinguished name (DN) based crypto map, you must perform the following tasks:
For more information on creating IKE policies and crypto map entries, refer to Configuring Internet Key Exchange for IPsec VPNs Information About Distinguished Name Based Crypto MapsFeature OverviewThe Distinguished Name Based Crypto Maps feature allows you to configure the router to restrict access to selected encrypted interfaces for those peers with specific certificates, especially certificates with particular Distinguished Names (DNs). This feature allows you to configure which crypto maps are usable to a peer based on the DN that a peer used to authenticate itself, thereby enabling you to control which encrypted interfaces a peer with a specified DN can access. How to Configure Distinguished Name Based Crypto Maps
Configuring DN Based Crypto Maps (authenticated by DN)To configure a DN based crypto map that can be used only by peers that have been authenticated by a DN, perform the following steps. DETAILED STEPS Configuring DN Based Crypto Maps (authenticated by hostname)To configure a DN based crypto map that can be used only by peers that have been authenticated by a hostname, perform the following steps. DETAILED STEPS Applying Identity to DN Based Crypto Maps
SUMMARY STEPS
DETAILED STEPS
Verifying DN Based Crypto Maps
SUMMARY STEPS
DETAILED STEPS
Troubleshooting TipsIf an encrypting peer attempts to establish a connection that is blocked by the DN based crypto map configuration, the following error message will be logged: <time>: %CRYPTO-4-IKE_QUICKMODE_BAD_CERT: encrypted connection attempted with a peer without the configured certificate attributes. Configuration Examples for Distinguished Name Based Crypto MapsDN Based Crypto Map Configuration ExampleThe following example shows how to configure DN based crypto maps that have been authenticated by DN and hostname. Comments are included inline to explain various commands. ! DN based crypto maps require you to configure an IKE policy at each peer. crypto isakmp policy 15 encryption 3des hash md5 authentication rsa-sig group 2 lifetime 5000 crypto isakmp policy 20 authentication pre-share lifetime 10000 crypto isakmp key 1234567890 address 172.31.224.33 ! ! The following is an IPSec crypto map (part of IPSec configuration). It can be used only ! by peers that have been authenticated by DN and if the certificate belongs to BigBiz. crypto map map-to-bigbiz 10 ipsec-isakmp set peer 172.21.114.196 set transform-set my-transformset set identity to-bigbiz match address 124 ! crypto identity to-bigbiz dn ou=BigBiz ! ! ! This crypto map can be used only by peers that have been authenticated by hostname ! and if the certificate belongs to little.com. crypto map map-to-little-com 10 ipsec-isakmp set peer 172.21.115.119 set transform-set my-transformset match address 125 identity to-little-com ! crypto identity to-little-com fqdn little.com ! Additional ReferencesMIBsTechnical Assistance
Feature Information for Distinguished Name Based Crypto MapsThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2012 Cisco Systems, Inc. All rights reserved.
|
|||||||||||||||||||||||||||||||||||||
|
|