When generating wildcard certificates we were attempting to apply them to anything that contained the fragment after the wildcard. This causes error if the hostname doesn't match the wildcard.
Examples:
*.domain.com being applied to domain.com (*. doesn't apply to naked domain)
*.example.com being applied to example.com.hosted.at.host.com (due to Contains() rather than EndsWith())
When generating wildcard certificates we were attempting to apply them to anything that contained the fragment after the wildcard. This causes error if the hostname doesn't match the wildcard.
Examples:
*.domain.com
being applied todomain.com
(*. doesn't apply to naked domain)*.example.com
being applied toexample.com.hosted.at.host.com
(due toContains()
rather thanEndsWith()
)