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
已提问 1 年前462 查看次数
1 回答
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
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则