cortesi/netlib — pull request #14 by mhils (2013-06-14 18:58:14+00:00)
Title: add test case for invalid characters in cert commonnames

Hey @cortesi,

while check_domain allows all plain-ASCII chars in the commonname, some operating systems or file systems (Windows/FAT) don't. This has the nasty side effect that wildcart certificates (\*.facebook.com, \*.github.com) break. I am using .replace("*","") as a nasty workaround, but you mentioned that you're looking for a more generic solution here. Let me know what you're thinking of and I'll give it a shot.

Cheers,
Max