Fixed issue with validating SSL certificates using wildcards in the CN