Actions
Bug #15385
openPHP crash when exporting Apple profile, while IPsec P1 authentication method set to "Mutual Certificate"
Status:
Pull Request Review
Priority:
Normal
Assignee:
Category:
IPsec Profile Wizard
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
24.08
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
Version: 23.09.1-RELEASE (amd64)
Steps to reproduce:
1. Configure the Phase 1 authentication method to "Mutual Certificate"
2. Navigate to VPN --> IPsec Export: Apple Profile
3. Click "Download"
Screencap and PHP log attached.
Files
Updated by Danilo Zrenjanin about 2 months ago
- File PHP_errors (5).log PHP_errors (5).log added
- Status changed from New to Confirmed
I can replicate this issue.
Tested against:
24.03-RELEASE (amd64) built on Wed Apr 24 17:38:00 UTC 2024 FreeBSD 15.0-CURRENT
Crash report begins. Anonymous machine information: amd64 15.0-CURRENT FreeBSD 15.0-CURRENT #0 plus-RELENG_24_03-n256311-e71f834dd81: Fri Apr 19 00:28:14 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/amd64/Y4MAEJ2R/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBS Crash report details: PHP Errors: [11-May-2024 07:35:56 Etc/UTC] PHP Fatal error: Uncaught TypeError: base64_encode(): Argument #1 ($string) must be of type string, array given in /usr/local/pkg/ipsec-profile.inc:1649 Stack trace: #0 /usr/local/pkg/ipsec-profile.inc(1649): base64_encode() #1 /usr/local/pkg/ipsec-profile.inc(1274): iep_generate_ike() #2 /usr/local/pkg/ipsec-profile.inc(1870): iep_generate_vpn() #3 /usr/local/pkg/ipsec-profile.inc(1928): iep_generate_payload() #4 /usr/local/www/vpn_ipsec_profile.php(130): iep_generate_profile() #5 {main} thrown in /usr/local/pkg/ipsec-profile.inc on line 1649 No FreeBSD crash data found.
Actions