Skip to content

Accentuated characters in certs filename do not work anymore with 2.7 RC2 #920

@Freeben666

Description

@Freeben666

Describe the bug
I've encountered a bug with the OpenVPN GUI client v2.7 RC2 on Windows : our .ovpn config files don't include the cert, but refer to another file : cert User.crt . Same for the *.pem file.

My cert file is named Firstname_Lastname.crt, problem is, my first name has a "special" character (not that special here in France) : Benoît. Leading to the following error :

2025-11-28 08:44:22 OpenSSL: error:80000002:system library::No such file or directory:calling stat(Benoît_Xxx.crt)
2025-11-28 08:44:22 MANAGEMENT: Client disconnected
2025-11-28 08:44:22 Cannot load certificate from URI <Benoît_Xxx.crt>
2025-11-28 08:44:22 Exiting due to fatal error

I know special characters in filenames are bad practice, but it worked previously with v2.6

Removing that î from the filename solved the issue.

To Reproduce
Use a certificate file with special characters in its name

Expected behavior
Should work fine, like in v2.6

Version information (please complete the following information):

  • OS: Windows 11
  • OpenVPN version: 2.7 RC2

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions