AWS SES tracking option for custom redirect domain getting blocked on HSTS enable

0

I use free plan for AWS SES tracking with custom redirect domain. Before enabling HSTS subdomain, everything running fine and browser can open the links. After i setup HSTS enabled via htaccess, my links in email with tracking function got blocked by browser NET::ERR_CERT_COMMON_NAME_INVALID

Can someone guide me to solve this problem? thank you.

Alfan
asked a year ago423 views
1 Answer
0

The issue you're facing is due to the HSTS policy being applied to your custom redirect domain. The HSTS policy requires a valid SSL certificate to be served for your domain, and the certificate's common name should match the domain.

To solve the problem:

  1. Obtain a valid SSL certificate for your custom redirect domain.
  2. Install the SSL certificate on the server hosting your custom redirect domain.
  3. Ensure the server is configured to serve the SSL certificate for HTTPS requests.

By having a valid SSL certificate in place, the browser will no longer block your tracked links due to the HSTS policy, and the NET::ERR_CERT_COMMON_NAME_INVALID error will be resolved.

profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions