Your connection is not private
Attackers might be trying to steal your information from cc.com (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_COMMON_NAME_INVALID
This server could not prove that it is cc.com; its security certificate is from *.XXXXXX.com. This may be caused by a misconfiguration or an attacker intercepting your connection.
Thanks @lukastribus
Any idea on how I can pass the certificate while redirection? Before redirection https://cc.com certificate, does not have any issue and it was working fine.
Also, any recommendation on my rules to make them more optimised?
The certificate needs to be valid for all hostnames you are using. If you a redirecting to a hostname that is not covered by the certificate, you will see that error.