> Source: [sk171756](https://support.checkpoint.com/results/sk/sk171756)

# sk171756 - When IKEv2 and pre-shared-key is configured, VPN may fail on the second IKE SA re-key

| Property | Value |
|----------|-------|
| Solution ID | sk171756 |
| Date Created | 2021-01-29 |
| Last Modified | 2022-04-27 |
| Technical Level | General |
| OS | Gaia |

## Symptoms

- * When IKEv2 and pre-shared-key is configured, VPN may fail on the second IKE SA re-key.
* `vpnd.elg` shows: `[vpnd 35851][ikev2_reauth] vpn1ReauthPeer::isSaAuthenticationValid: peer: [IP Address] is authenticated via PSK. entry exists in table: 0`  
  `

  [vpnd 35851][ikev2_reauth] vpn1ReauthPeer::setLog: issue log: Failed to re-validate PSK of peer [IP Address]. Cannot rekey the IKE SA, authentication revoked. Need to create new IKE SA`

## Cause

Entry is deleted from `ikev2_peer_PSK` table in `free_peer2ike_entry`. This happens when an entry is removed from the `peer_ikesa` table, during IKE SA re-negotiation. The issue is that an entry is not being added again after the deletion.

<br />

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) starting from Take 251

If you choose not to upgrade, Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

<br />

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
