Hi Michael,

In openca version that i use (0.9.2-RC5) the regex are handling well, i
made a print of the variable dn_element and i got this ...

$dn_element =~ s/\\/\\\\/g;
$dn_element =~ s/\//\\\//g;
$dn_element =~ s/,/\\,/g;
$dn_element =~ s/=/\\=/g;

https/xyz.my.pt
https\/xyz.my.pt
https\/xyz.my.pt
https\/xyz.my.pt  

I dig in to this problem, and i think the problem are in X500::DN perl
module that openca::REQ use.

In X500::DN there are a variable $rfc2253_gramma that i think is the
grammar of the Distinguish Name, and the "/" are not included.
When i put "/" in 

pair: '\\\\' ( special | '\\\\' | '"' | '/' | hexpair ) { $item[2] }
                                        ^^^
then i can issue the certificate like "https/xyz.my.pt"

ND

On Tue, 2004-07-13 at 16:18, Michael Bell wrote:
> wrong:   $dn_element =~ s/\//\\\//g; (produces / --> \\/ and not \/)
> correct: $dn_element =~ s%/%\/%g;    (produces / --> \/)
> 
> I will fix it tomorrow morning. I think this is a widely used bug in 
> OpenCA ;)
> 
> Michael
-- 
Nuno Dias <[EMAIL PROTECTED]>
LIP



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to