I realize I'm a little late to the game, but I had a question on the maximum 
length.  If I'm reading this correctly, it looks like you applied the max 
length of 63 to the LABEL.  Should it actually be to FQDN and WILDCARD?  Is it 
63 or 64?

> I'm using to check dNSNames in GeneralNames:
> LABEL = "((?!-)[A-Za-z0-9-]{1,63}(?<!-))"
> FQDN = "(#{LABEL}\.)*#{LABEL}"
> WILDCARD_DN = "\\*\\.#{FQDN}"
> dNSName =~ /\A#{DNSNAME}\z/

dev-security-policy mailing list

Reply via email to