Project

General

Profile

Actions

Bug #4275

closed
MZ

ASN.1 DN needs double quotes in config file

Bug #4275: ASN.1 DN needs double quotes in config file

Added by Michel Zehnder over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
IPsec
Target version:
Start date:
01/24/2015
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

Description

Upon upgrade of 2.1.5 to 2.2, strongswan did not start and quit with the following message:

Jan 24 16:12:39 ipsec_starter73005: unable to start strongSwan -- fatal errors in config
Jan 24 16:12:39 ipsec_starter73005: invalid config file '/var/etc/ipsec/ipsec.conf'
Jan 24 16:12:39 ipsec_starter73005: /var/etc/ipsec/ipsec.conf:19: syntax error, unexpected EQ [=]
Jan 24 16:12:39 ipsec_starter73005: Starting strongSwan 5.2.1 IPsec [starter]...

Line 19 of ipsec.conf is:
leftid = C=CH/ST=Aargau/L=Baden/O=TechFreak/emailAddress=XXX/CN=vpn.example.com

After changing the ASN.1 DN in the GUI and adding double quotes (") to the value:
"C=CH/ST=Aargau/L=Baden/O=TechFreak/emailAddress=XXX/CN=vpn.example.com"

this started to work again, and strongswan bootet up.

This should be checked in the GUI and automatically added to the value saved in the config file.

CB Updated by Chris Buechler over 11 years ago Actions #1

  • Status changed from New to Confirmed
  • Affected Architecture added
  • Affected Architecture deleted (amd64)

EL Updated by Ermal Luçi over 11 years ago Actions #2

  • Status changed from Confirmed to Feedback

EL Updated by Ermal Luçi over 11 years ago Actions #3

  • % Done changed from 0 to 100

Applied in changeset commit:99df898e0c5fd8533d234bbb7846b89d9097a424.

EL Updated by Ermal Luçi over 11 years ago Actions #4

Applied in changeset commit:b50baf79f18b21454dad25819d3a6656caf2abcc.

CB Updated by Chris Buechler over 11 years ago Actions #5

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom