- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What special characters are not allowed in IPsec PSK?
We recently performed a conversion from a Firepower to a FortiGate, and we had one tunnel that wouldn't come up. We found out during troubleshooting an authentication error that a special character in the PSK was not permitted, but we didn't have time to work with the vendor to remove them one at a time - we removed them all and just went with a long alphanumeric key, and it worked. Is there a list as to what isn't allowed? We have another conversion coming up in a few weeks that has between 30 and 40 IPsec tunnels, and we can't have surprises with this conversion. Thank you.
Solved! Go to Solution.
- Labels:
-
FortiGate
Created on ‎03-29-2023 12:59 PM Edited on ‎03-29-2023 01:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that either ~, ", ;, (, or > is not allowed. I ran across a Fortinet document for an old version (I think 6.2 - there was no option to select 7.x code) that said single quotes, double quotes, <, and > were not allowed. We have another tunnel that uses a >, and it's working, so I presume with the current version it's the single and double quotes that are a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Normally ASCII should be supported.
https://docs.fortinet.com/document/fortigate/7.0.9/cli-reference/362620/config-vpn-ipsec-phase1
Created on ‎03-29-2023 12:59 PM Edited on ‎03-29-2023 01:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that either ~, ", ;, (, or > is not allowed. I ran across a Fortinet document for an old version (I think 6.2 - there was no option to select 7.x code) that said single quotes, double quotes, <, and > were not allowed. We have another tunnel that uses a >, and it's working, so I presume with the current version it's the single and double quotes that are a problem.
