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

# sk66660 - What is the Minimum and Maximum length of the IPSec PSK (Pre-Shared Key)

| Property | Value |
|----------|-------|
| Solution ID | sk66660 |
| Date Created | 2012-02-06 |
| Last Modified | 2019-06-02 |
| Technical Level | General |

## Solution

Since the PSK (Pre-Shared Key) is masked, we are unable to see if the key is being cut off due to too many characters.  
Therefore, knowing the maximum key length is helpful.

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **In R80.x SmartConsole:** VPN Community properties -\> Shared Secret: ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk66660/Shared-secret-R80101805080332.png) | **In R77X SmartDashboard:** VPN Community properties -\> Advanced Settings -\> Shared Secret: ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk66660/Shared-secret-R77301805080329.png) |

<br />

If the PSK (Pre-Shared Key) is too short, or too long, an alert will pop up saying the following:

"*The secret must be at least six characters long, no more than 64 characters, and contain four different characters*"

---

# 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
