remapping of special characters

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
reinhard.frank
OpenVpn Newbie
Posts: 1
Joined: Wed Jul 20, 2011 3:47 pm

remapping of special characters

Post by reinhard.frank » Wed Jul 20, 2011 4:07 pm

Hello all,

currently I am using as common name CN := "k4UDuEh==" and additionally configured "no-name-remapping" on the server side in order to avoid that OpenVPN remaps any character.

Nevertheless i can see in the server trace below that the common name is used with "k4UDuEh==/" but OpenVPN looks in this directory for a file k4UDuEh__

Server trace:
"Wed Jul 20 17:02:31 2011 us=703000 k4UDuEh==/192.168.178.26:4838 OPTIONS IMPORT: reading client specific options from: ccd_test\k4UDuEh__"

I am using openvpn2.1 version. Any idea? Where is my misstake?

regards Reinhard

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: remapping of special characters

Post by Mimiko » Tue Jul 26, 2011 8:12 pm

--no-name-remapping
Allow Common Name, X509 Subject, and username strings to include any printable character including space, but excluding control characters such as tab, newline, and carriage-return.

By default, OpenVPN will remap any character other than alphanumeric, underbar ('_'), dash ('-'), dot ('.'), and slash ('/') to underbar ('_'). The X509 Subject string as returned by the tls_id environmental variable, can additionally contain colon (':') or equal ('=').
I think equal and colon is remapped anyway.

Post Reply