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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南