Ask/dissemination of certificates for IPSEC VPN user

Hi all

I have therefore an ASA established the connection to an LDAP, an SSL certificate signed for the cert of the device and use IPSEC IKEv2 VPN connections that are authenticated by the LDAP username and password and X.509 certificates.

I have a CA server root of Microsoft Windows server 2012 (State in offline mode) and a Windows server 2012 subordinate certification authority server. Both are 10-year Certification authorities.

To generate certificates VPN I'm going to the AC Sub, go to certificates (local computer) > personal > right click on the white space > all tasks > advanced operations > ask personalized.

I have set up my cert accordingly and enable private key export.

I submit new request to the CERT service. authority on the CA of Sub (same machine as before). I issue the certificate, and then export the certificate with the private key. I send this to my user, then they install this certificate in the personal certificates store and access the VPN access using this cert more username and password they have been assigned (no there is no possibility for them to ask their own PC)

Question 1: Is there an easier way to do this? Command line? Script? preconfigured with the certificate settings .ini file?

Question 2: These certificates are only 1 year. How can I generate certificates that are longer than that. I'm jumping for 3 years.

Thank you!

BROKEN

Well it's quite simple setup-wise when you chose to go down the path of the client certificate. It is generally easier to use SCEP (Simple Certificate Enrollment Protocol) Protocol to manually deploy certificates. There is an example of a configuration Definition here.

There is also a good presentation (or several) of Cisco Live. I recommend that you take a look at this one from 2012: Practice of PKI for VPN.

In this presentation, he you (slide 39) specifically shows how to create a new certificate template and set the validity period for the value by default 1 years.

Tags: Cisco Security

Similar Questions

  • Certificates for IPSEC vpn in ASA 8.0 clients

    Hello!

    I have configured MS CA and I have setup client vpn and ASA 7.0 make tunnel with certificates.

    Same configuration does not work with ASA 8.0 I get the error

    CRYPTO_PKI: Check whether an identical cert is

    already in the database...

    CRYPTO_PKI: looking for cert = d4bb2888, digest = handle

    B8 74 97 f3 bf 25 1 c e5 2nd e5 21 3rd d1 93 15 d6 |... t...%...! >....

    CRYPTO_PKI: Recording of Cert not found, return E_NOT_FOUND

    CRYPTO_PKI: Cert not found in the database.

    CRYPTO_PKI: Looking for suitable trustpoints...

    CRYPTO_PKI: Found a suitable trustpoint authenticated A1.

    CRYPTO_PKI (make trustedCerts list) CRYPTO_PKI:check_key_usage: KeyUsage Incorrect

    (40)

    CRYPTO_PKI: Validation of certificate: State failure: 1873. Any attempt of recovery

    If necessary revocation status

    ERROR: Certificate validation failed. Peer certificate's key usage is not valid, ser

    Number of the IAL: 250F3ECE0000000009AF, name of the object: cn = xxxxx, unit of organization = xxxx, o = xxxxx, c =

    XX

    CRYPTO_PKI: Certificate not validated

    Why the use of the key is invalid? What model of certificate must be used in MS in order to get a regular use of the key?

    The schooling of CA's Terminal.

    Thank you!

    The cert needs to have defined Digital Signature key usage.

    Don't know what models are available on MS, but it should be something like "User Ipsec" I guess.

    Make 8 ASA behave like ASA 7 (i.e. disable th control on the use of the key of the cert), configure:

    Crypto ca trustpoint

    ignore-ipsec-keyusage

  • Type of certificate for ASA VPN IPSEC

    Hi all

    I'm looking to set up an IPSec VPN connection that will authenticate users by certificate only. I configured everything successfully with the local AAA login, but seeks to convert a signed certificate and generate certificates user for users that are not part of a company or Active Directory.

    So here's my question. What kind of certificate I buy (lets say VeriSign aka Symantec)? And if I want to only use this certificate for my VPN and its customers, can I install it on the Cisco ASA and generate user certificates, or should I set up a Windows Server with CA and create all the certificates on this machine?

    My goal is to install the agent AnyConnect 3.1.x on laptop computer of the user, install the certificate user myself. No webVPN or on behalf of the user. I tried the local certification authority in the ASA in a dev environment, but have had no luck so I thought I'd just signed good immediately.

    Thanks in advance,

    BROKEN

    > Do you think I should have a 3rd party signed certificate

    If the VPN is not only used for internal staff, and then always opt for a public certificate. If you ask other users to install your root certificate, you ask them to allow you to be a man in the Middle for all their traffic. It's nothing that needs to be done.

    Registration is generally just to configure the trustpoint and install the certificate. It is very likely that the certification authority uses an intermediate certification authority, so you should install that also. (even keep the AC have howtos on various platforms).

    > I'm still learning here so I apologize if my questions seem to be amateur.

    And be assured, learning never stop... :-)

  • Is availble for IPsec VPN FOS 6.3 support stateful failover

    Is availble for IPsec VPN FOS 6.3 support stateful failover

    SAJ

    Hello Saj,

    Unfortunately not... stateful failover replica information such as:

    Table of connection TCP, udp xlate table ports, h.323, PAT port allocation table...

    they replicate data such as:

    user authentication (uauth) table

    Table ISAKMP / IPSEC SA

    ARP table

    Routing information

    Therefore, in the case where the main breaks down, the IPSEC vpn will be reformed for the failover... Meanwhile, the user will not be able to access the applications...

    I hope this helps... all the best... the rate of responses if deemed useful...

    REDA

  • Setting the SSL certificate for the web user interface

    How can I configure the SSL certificate for the management of a SG300 interface? I don't seem to find the configuration option in the web gui?

    Hello Dirk,.

    For import / create / modify h99350 ssl please go to ' ' security > SSL server > SSL server authentication settings.

    HTTPS is enabled by default.

    Thank you and best regards,

    Siva

  • "ITS creation failed" problem for IPSec VPN

    An ASA 5100 is used to provide VPN access for my business. The configuration was made by a permeable man who has been missing for some time, and the configuration used to be OK until this morning. This morning, some users reported that their VPN would have fallen once got connected. I checked the ASA and ASDM, I see every time when user deletes, it IPSec tunnel is always action. Furthermore, I faked the problem and got the newspaper of errors such as:

    1 11:14:45.898 12/06/07 Sev = WARNING/3 IKE/0xE3000065 could not find an IKE SA for 10.2.1.8. Abandoned KEY_REQ.

    2 11:14:45.898 12/06/07 Sev = WARNING/2 IKE/0xE3000099 could not open the P2 generate a new key: error detected(Initiate:176)

    3 11:14:45.898 12/06/07 Sev = WARNING/2 IKE/0xE3000099 cannot open the QM (IKE_MAIN:458)

    On the side of the AS I did "debug crypto isakmp" and 'debug crypto ipsec' and I got the following errors:

    iscoasa # ERROR IPSEC: expiration of the timer of the asynchronous operation, SPI: 0x114CA5B6, user: roeladmin, peer: 202.x.x.70, time: 2 seconds, ctm_ipsec_create_sa:856

    IPSEC ERROR: Material outside ITS create command failed, SPI: 0x114CA5B6, error code: 0 x 17

    IPSEC ERROR: Asynchronous Operation timeout expired, SPI: 0x61BE2022, user: roeladmin, peer: 202.x.x.70, time: 2 seconds, ctm_ipsec_create_sa:856

    IPSEC ERROR: Cannot add a user auth, SPI input: 0x61BE2022, user: roeladmin, peer: 202.172.62.70

    IPSEC ERROR: Cannot create an inbound SA SPI: 0x61BE2022 document

    IPSEC ERROR: Unable to complete the command of IKE UPDATE

    12 June at 14:25:13 [IKEv1]: Group = LANWORKS, Username = roeladmin, IP = 202.172.62.70, error QM WSF (P2 struct & 0 x 4699058, mess id 0xf37ec6f4).

    12 June at 14:25:13 [IKEv1]: Group = LANWORKS, Username = roeladmin, IP = 202.172.62.70, peer table correlator Removing failed, no match!

    IPSEC ERROR: Material Inbound ITS create command failed, SPI: 0x61BE2022, error code: 0 x 17

    It shows that ITS creation has failed. But I can't find the problem with the configuration. Can someone help me on this? Thank you

    Outgoing material ITS create command failed, SPI: 0x114CA5B6, error code: 0 x 17

    It is a hardware problem, reset the firewall and it will work, I saw 4 times in different ASAs

    Please hate the post if help.

  • Need help for IPSEC VPN configuration.

    Hello

    I'm trying to implement a VPN IPSEC connection in my GNS3 lab and all show commands and debugs does not seem to give me clues of what is wrong or missing... can someone please help me in my troubleshooting VPN config. Here is the config for Router 1

    R1 #sh run

    crypto ISAKMP policy 1

    preshared authentication

    Group 2

    ISAKMP crypto key 6 cisco123 address 200.20.1.1

    !

    !

    Crypto ipsec transform-set esp - esp-sha-hmac CISCO_SET

    !

    map VPN_map 10 ipsec-isakmp crypto

    ! Incomplete

    defined by peer 200.20.1.1

    Set security-association second life 190

    game of transformation-CISCO_SET

    match address INT_TRAFFIC

    !

    !

    interface Loopback1

    IP 172.16.1.1 255.255.255.255

    !

    interface Loopback2

    172.16.1.2 IP address 255.255.255.255

    !

    interface FastEthernet0/0

    IP 200.11.1.1 255.255.255.252

    IP ospf 1 zone 0

    automatic duplex

    automatic speed

    card crypto VPN_map

    !

    router ospf 1

    Log-adjacency-changes

    network 172.16.0.0 0.0.255.255 area 0

    !

    router bgp 65001

    no synchronization

    The log-neighbor BGP-changes

    200.11.1.0 netmask 255.255.255.252

    neighbour 200.11.1.2 distance - as 65030

    No Auto-resume

    !

    IP forward-Protocol ND

    !

    !

    IP http server

    no ip http secure server

    !

    INT_TRAFFFIC extended IP access list

    IP address 172.16.0.0 allow 0.0.255.255 192.168.0.0 0.0.255.255

    IP address 172.16.0.0 allow 0.0.255.255 192.168.0.0 0.0.255.255 connect

    end

    R1 #sh crypto isakmp his

    IPv4 Crypto ISAKMP Security Association

    status of DST CBC State conn-id slot

    IPv6 Crypto ISAKMP Security Association

    R1 ipsec crypto #show her

    Nill...

    R1 #sh debugging

    Encryption subsystem:

    Crypto ISAKMP debug is on

    Engine debug crypto is on

    Crypto IPSEC debugging is on

    Regulation:

    memory tracking is enabled

    R1 #sh ip route

    Gateway of last resort is not set

    200.20.1.0/30 is divided into subnets, subnets 1

    B 200.20.1.0 [20/0] via 200.11.1.2, 01:28:21

    200.11.1.0/30 is divided into subnets, subnets 1

    C 200.11.1.0 is directly connected, FastEthernet0/0

    172.16.0.0/32 is divided into subnets, 2 subnets

    C 172.16.1.1 is directly connected, Loopback1

    C 172.16.1.2 is directly connected, Loopback2

    R1 #ping 200.20.1.1

    Type to abort escape sequence.

    Send 5, echoes ICMP 100 bytes to 200.20.1.1, wait time is 2 seconds:

    !!!!!

    See you soon,.

    Fabio

    Nice Catch. The key word 'Incomplete!' should have reported it.

    Please close the issue as resolved - user error

    Thank you
    Brian

  • How to set up certificates for the default user profile

    I'm trying to create a package to install Firefox in our corporate environment that contains our locally-issued certificates. We can manually import the certs, but since Firefox is part of our brand, I would like to have the certificates already installed for users they open FF for the first time.

    I wrote a script that installs Firefox 22, copy custom files in the correct location files, creates a new profile folder (C:\Program Files (x 86) \Mozilla Firefox\defaults\profile) and copy the file cert8.db in that newly created file. However, when a user opens FF for the first time, none of our certificates are installed. If I close FF, copy the file cert8.db even in the .default file C:\Users\ < username > \AppData\Roaming\Mozilla\Firefox\Profiles\ < random string > and then reopen FF, CERT now show as installed upward.

    How can I automate this so that each user who opens FF will have implemented CERT?

    This is for the initial installation of Firefox.
    22 of Firefox, version 22.0.0.4917
    Windows 7, 64-bit

    Hello keslaa, since firefox 21 & upward this information would need to go to % ProgramFiles(x86) %\Mozilla Firefox\browser\defaults\profile in order to take effect.

    http://Mike.kaply.com/2013/05/13/more-major-changes-coming-in-Firefox-21/

  • ASA static IP Addressing for IPSec VPN Client

    Hello guys.

    I use a Cisco ASA 5540 with version 8.4.
    I need to assign a static IP address to a VPN client. I saw in the documentation Cisco that this can be done to validate the user against the local ASA and in the user account database, you assign a dedicated IP address, or using the vpn-framed-ip-address CLI command.
    The problem is that the customer never gets this address and it always gets one of the pool in the political group. If I delete this pool, the client can't get any address.
    No idea on how to fix this or how can I give this static IP address to a specific VPN client?
    Thank you.

    Your welcome please check the response as correct and mark.

    See you soon

  • ASA - 5540 used for IPSec VPN only - I can do away with Nat 0?

    I'll use an ASA 5540 as our head of VPN endpoint only - and not as a firewall.

    Also, we have a class for our company internal address space routable B address, so we don't need NAT. I would like to disable the function NAT 0 if I can so I always add NAT 0 to ensure that the 5540 does not NAT.

    Y at - it an easy way to disable the need using NAT 0?

    Are there any of the draw to do that?

    You can disable the use of nat 0 disabling the nat control.

    To achieve this, go to the global configuration mode and use this command:

    no nat control

    To check whether you have it turned on, you can check it with:

    SH run nat-control

    See you soon!

    -Butterfly

  • Unique remote IP for IPSec VPN router to router

    Hi, I am setting up a virtual private network to another company, and they provided a routable IP address to be peers and their local internal system we need access to.  Can I use the address of the remote peer in the crypto ACL?  I think that they need to provide a second IP NAT for their internal system, if not for their peers IPSec traffic will hit the ACL crypto.  What do you think?  Thank you!

    As long as only 1 end of the peer uses the peer IPSec (destination ip address) in the ACL crypto, it's OK. You can't have two ends as being the ACL crypto.

  • Router configuration Cisco for the IPSec VPN with VPN in Windows 7 builtin client

    Where can I find an example config for IPSec VPN where Windows 7 native client to connect to the Cisco routers. I use the cisco 881w, in this case.

    Thomas McLeod

    Native Client Windows supports only L2TP over IPSec. Example at the end of this doc may be enough for you:

    http://www.Cisco.com/en/us/docs/security/vpn_modules/6342/configuration/guide/6342vpn4.html#wp1036111

    I've not personally configured L2TP/IPSec on IOS, only on ASA, so cannot be 100% sure that the config in the link works, but the general idea should be ok.

  • ASA5505: Configure the ASA for IPSec and SSL VPN?

    Hello-

    I currently have my 5505 for SSL AnyConnect VPN connections Setup.  Is it possible to set up also the 5505 for IPSec VPN connections?

    So, basically my ASA will be able to perform SSL and IPSec VPN tunnels, at the same time.

    Thank you!

    Kim,

    Yes, you can configure your ASA to support the AnyConnect VPN IPSec connections and at the same time.  In short, for the configuration of IPSec, you should configure at least a strategy ISAKMP, a set of IPSEC, encryption, tunnel group card processing and associated group policy.

    Matt

  • Remote VPN users

    Hello

    I would just ask how many simultaneous remote client VPN users is allowed for a Cisco1841 router? Are there licenses required?

    Also, will there be a degradation of the performance of the router if there as 15 concurrent users active remote client and VPN L2L 2?

    Thank you!

    For IPSEC, I don't think that there are all the necessary licenses. For SSL, they (but it still works without the license, but unethical).

    Concerning

    Farrukh

  • ASA 9.2 IPSEC VPN

    I have ASA version 9.2 (2) 4 - model 5515

    I need to configure IPSEC VPN site-to-site.

    Can anyone share with me the example of ASA 9.2 CLI for IPSEC VPN configuration?

    Congratulations to find a solution to your problem. Thank you for posting on the Board to indicate that the issue is resolved and to share the solution. This can help other readers in the forum.

    HTH

    Rick

Maybe you are looking for

  • HP Z Workstation 400: video cards

    This video card is compatible... ASUS GeForce 210, DirectX 10.1 EN210 SILENT/DI/1GD3/V2 (LP) 1 GB DDR3 64-Bit PCI Express 2.0 x 16 low profile of video card ready?... with HP Z 400 with the original 475 Watt power supply and pci expressX16 slot #2 in

  • Can I use a Gen 4 and Gen 3 ATV on the same network?

    Can I use a Gen 4 and Gen 3 ATV on the same network?

  • Replace the HDD with a SSD

    Hi, I am a new consumer of HP and I would like to replace the HARD original with an SSD drive. The question is: If I do that, then I lost the warranty? (In English) Salvo, sono a nuovo consumatore di prodotti HP e sapere I wanted is sostituendo Hard

  • I'm almost happy!  My old Lightroom catalog was recovered!

    I used Lightroom 3 on a Vista computer for a long time.  Saved all my images, external hard drives, but have not saved my catalog. Computer Vista died last year where the Lightroom catalog was stored. I was told it would be a lot of money to fix the

  • Problems with creative cloud

    I have a Lenovo Windows 10 PC and have encountered some problems with creative cloud recently.More important, I'm currently unable to open one of the applications. My membership is up to date when I check on the website of Adobe, but I ran into a pro