Verify certificate CN against configured hostname.