Skip to content

verify-x509-name subject data is not properly preserved in persistent configurations #90

Closed
@fleischie

Description

@fleischie

Hello,

I am using openvpn3 on Arch Linux installed from AUR but without DCO (was producing errors).

karl@archCarbon ~ $ openvpn3 version
OpenVPN 3/Linux git:makepkg:713b35e908489579 (openvpn3)
OpenVPN core 3.git:HEAD:b47c72b4 linux x86_64 64-bit
Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved.

Importing a config and connecting to a session works as expected, but when I import a config with --persistent I am not able to re-connect to the stored config.

Looking at the error message it says: "Connection failed: option_error: Invalid verify-x509-name type" hinting at the first space character of the profile.verify-x509-name attribute of the configuration json.

E.g.:

  • "C=DE, L=CN, O=Company Name" -> "Invalid verify-x509-name type: L=OE",
  • "C=DE,L=CN,O=Company Name" -> "Invalid verify-x509-name type: Name".

Which might indicate, that the name is not correctly checked for certain characters. Might also be for non-ascii chars but I haven't checked that thouroughly.

Is this even correct here, or should this rather copy this issue to the openvpn3-core repo? Let me know if you need additional info and/or have hints/notes/etc.

Metadata

Metadata

Assignees

Labels

bugfixedIssue is claimed to be fixed, but should be tested before closing it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions