Actions
Bug #15385
closedPHP crash when exporting Apple profile, while IPsec P1 authentication method set to "Mutual Certificate"
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
24.11
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 6 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.
Updated by aleksei prokofiev 5 months ago
Tested on ipsec-profile-wizard version 1.2.3 on
24.08-DEVELOPMENT (amd64)
built on Tue Jul 2 9:00:00 MSK 2024
FreeBSD 15.0-CURRENT
No crashes, it fixed.
Updated by Jim Pingle 5 months ago
- Status changed from Pull Request Review to Resolved
- % Done changed from 0 to 100
Updated by Jim Pingle about 1 month ago
- Plus Target Version changed from 24.08 to 24.11
Actions