Bug #16703
open
IPsec Export: Apple Profile - PHP Error
Added by Skyler H 30 days ago.
Updated 28 days ago.
Category:
IPsec Profile Wizard
Affected Architecture:
All
Description
Apple Profile Export is failing upon attempting to download the profile the following error is displayed.
50x Error
The web server encountered an error processing this request.
Check the Crash Reporter for details.
25.11.1-RELEASE (amd64)
Files
- Project changed from pfSense to pfSense Packages
- Category changed from IPsec to IPsec Profile Wizard
- Release Notes deleted (
Default)
Log entry:
[15-Feb-2026 11:10:12 US/Arizona] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/ipsec-profile.inc:1614
Stack trace:
#0 /usr/local/pkg/ipsec-profile.inc(1267): iep_generate_ike()
#1 /usr/local/pkg/ipsec-profile.inc(1871): iep_generate_vpn()
#2 /usr/local/pkg/ipsec-profile.inc(1929): iep_generate_payload()
#3 /usr/local/www/vpn_ipsec_profile.php(128): iep_generate_profile()
#4 {main}
thrown in /usr/local/pkg/ipsec-profile.inc on line 1614
The error being on that line implies that it's being run against a profile with a pre-shared key when it expects a profile with a certificate.
It would help to see the IPsec configuration (Phase 1/2 for the mobile tunnel, Mobile Clients tab) and info about the user/certificate involved as well. Private info can be redacted/masked, but don't remove any lines/tags from the configuration.
Also available in: Atom
PDF