Project

General

Profile

Actions

Bug #8792

closed

OpenVPN wizard PHP error

Added by Jim Pingle almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
08/16/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

In certain cases the OpenVPN wizard can result in a PHP error when selecting a server certificate:

PHP ERROR: Type: 1, File: /usr/local/www/wizards/openvpn_wizard.inc, Line: 246, Message: Uncaught Error: Cannot unset string offsets in /usr/local/www/wizards/openvpn_wizard.inc:246
Stack trace:
#0 /usr/local/www/wizard.php(114) : eval()'d code(1): step8_submitphpaction()
#1 /usr/local/www/wizard.php(114): eval()


Files

vpn_wizard.png (84.3 KB) vpn_wizard.png Denis Karpushin, 08/18/2018 01:29 AM
Actions #1

Updated by Jim Pingle almost 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Jim Pingle almost 6 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Denis Karpushin almost 6 years ago

Created bunch of tunnels with wizard. Used internal server certificates and faced no issue.

Actions #4

Updated by Denis Karpushin almost 6 years ago

UPD.
If you create CA without Country Code (left it as NONE) and in wizard trying to create new server certificate, in the coutry code field ther is "internal-ca" string. See the image.

Actions #5

Updated by Chris Macmahon almost 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF