CloudFront workaround for Let'sEncrypt

Amazon CF does not work with Let’s Encrypt. Is there any workaround for the same? Added the following code to nginx.conf file
I’m still getting errors connecting to my CF.

has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Is there any fix for this issue apart from not using CF?

This isn’t related to Let’s Encrypt or SSL/TLS in general.

From the looks of it, you’re trying to request a cross-origin resource (i.e. request a site on a different domain) with JavaScript. That’s not possible unless you set appropriate headers. More information on this on MDN.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.