cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2115
Views
6
Helpful
11
Replies

Cisco ASA 5525 - Key exchange algorithms

RS19
Level 4
Level 4

Hi

This is regarding Cisco ASA 5525. I have 2 firewalls with IOS version 9.4(4)22  & 9.8(4)20 

In these firewalls wanted to check, if it can support any of the below.

  • diffie-hellman-group-exchange-sha256
  • diffie-hellman-group16-sha512
  • diffie-hellman-group18-sha512
  • diffie-hellman-group14-sha256

    My understanding is that by default sha1 is support. I wanted to know along with sha1 can any one of the above can be supported.
    Pls let me know. I dont want to repalce sha1 but wanted to have both.
11 Replies 11

@RS19 according to the docs support for DH  group 14 was added in 8.4/9.1(2)  - so your ASA versions should at least support DH group 14 for SSH.

RobIngram_0-1706786220057.png

https://www.cisco.com/c/en/us/td/docs/security/asa/asa98/configuration/general/asa-98-general-config/admin-management.html?bookSearch=true

 

But will it be only SHA1 or it can support SHA256 & 512

@RS19 from the ASA 9.8 guide above, it looks like only DH group 14 SHA1

RobIngram_0-1706788680008.png

If you want Dh group 14 SHA256 then you would need to upgrade. Your ASA 5525 supports up to 9.14 (nothing newer), which does support DH group 14 SHA256. https://www.cisco.com/c/en/us/td/docs/security/asa/asa914/configuration/general/asa-914-general-config/admin-management.html

 

this key exchange is use for 
VPN or SSH ?
MHM

RS19
Level 4
Level 4

for SSH

RS19
Level 4
Level 4

It is for ssh. If it is for SSH any difference ?

@RS19 the DH group information supported by the ASA version is for SSH/ssh (no difference).

Or did you mean VPN? The DH group used for VPNs the command syntax is completely different from your example.

It is for SSH

Hello Rob,

My asa 5515x is on 9.12 version, yet in crypto ikev1 i only dh group 2, 5 and 7. My other firewall do not support these and hence I am unable to configurew a site to site vpn. Any idea which version should i install on 5515x to have dh group 14? 

Thanks in advance. 

@engineer467 I assume the other ASA's are running 9.13 or newer, as weak crypto was depreciated in 9.13, hence why they do not support it. Version 9.12 appears to be the latest version available for the 5515-X, so you cannot upgrade.

I would recommend replacing the 5515-X hardware to ensure you have support for the latest crypto, the Firepower 1000 series would be similar performance to the 5515-X. https://www.cisco.com/c/en/us/products/collateral/security/firepower-1000-series/datasheet-c78-742469.html

engineer467
Level 1
Level 1

Got it. Thanks so much for your reply. I was checking other options today and saw that DH group 14 is supported in ikev2. I think I will try to set up the tunnel using ikev2 and see if that works.

Review Cisco Networking for a $25 gift card