Hello,

Are there any issues using special characters within the subject like in the 
fields O und OU?

We have a slash in our OU and a & and . in our O. If I don't use them it works 
just fine but when I use them those characters the creation of the subject 
fails.

That is the error I get:

2017/07/14 16:56:25 openxpki.system.ERROR:30535 [OpenXPKI::Exception (109); 
akriege1(RA Operator)@3013#37887] Exception: 
I18N_OPENXPKI_SERVER_API_INVALID_PARAMETER; __ERROR__ => The 'SUBJECT' 
parameter ("CN=Max Mustermann,OU=MirrorServer/2,O=operational services GmbH & 
Co.KG,L=Berlin,ST=Berlin,C=DE%") to OpenXPKI::Server::API::__ANON__ did not 
pass regex check

And this is also confusing:

2017/07/14 16:53:01 openxpki.system.ERROR:30535 [OpenXPKI::Exception (109); 
akriege1(RA Operator)@3013#37631] Exception: 
I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __ACTION__ => 
csr_check_policy_subject_duplicate; __EXCEPTION__ => OpenXPKI::Exception; 
__ERROR__ => I18N_OPENXPKI_SERVER_API_INVALID_PARAMETER; __CALL__ => 
search_cert; __ERROR__ => The 'SUBJECT' parameter ("CN=Max 
Mustermann,OU=MirrorServer/2,O=operational services GmbH & 
Co.KG,L=Berlin,ST=Berlin,C=DE%") to OpenXPKI::Server::API::__ANON__ did not 
pass regex check

This shows up when I try to edit the OU an O section to remove the special 
characters. I only can delete the workflow and start over again.

2017/07/14 16:56:25 openxpki.monitor.FATAL:30535 
[OpenXPKI::Server::Workflow::Activity::Tools::RenderSubject 
(/usr/lib/x86_64-linux-gnu/perl5/5.20/OpenXPKI/Server/Workflow/Activity/Tools/RenderSubject.pm:64);
 akriege1(RA Operator)@3013#37887] Subject render input vars $VAR1 = {
          'c' => 'DE',
          'cn' => 'Max Mustermann',
          'email' => 'max.musterm...@o-s.de',
          'l' => 'Berlin',
          'o' => 'operational services GmbH & Co.KG',
          'ou' => 'MirrorServer/2',
          'st' => 'Berlin'
        };
$VAR2 = 'PRIORITY';
$VAR3 = 'debug';
$VAR4 = 'FACILITY';
$VAR5 = [
          'application'
        ];


OpenXPKI 1.17.4
Perl 5.20.2
Postgres 9.4

Is there anything else you need for this?


Mit freundlichen Grüßen / Best regards

Andreas Krieger

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to