Quantcast

matching a CN containing whitespace

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

matching a CN containing whitespace

nosajsnikta
This post has NOT been accepted by the mailing list yet.
I am trying to configure a verify rule using smtp_tls_policy_maps that will match a CN containing whitespace. I have been able to successfully verify a certificate that has a CN with no whitespace, using the following rule:

[10.44.42.75]:25        verify match=MyNonSpaceyCN

However, having tried the following I have still been unable to match the CN containing whitespaces:

[10.44.42.75]:25        verify match="My Spacey CN"
[10.44.42.75]:25        verify match='My Spacey CN'
[10.44.42.75]:25        verify match={My Spacey CN}
[10.44.42.75]:25        verify match=My\sSpacey\sCN

Has anyone managed to achieve this?
Loading...