Howdy,
I think something is buggy with the staging server for CORS requests.
When I request the directory via XHR request in javascript, the
staging server is returning to Access-Control-Allow-Origin headers.
Production is unaffected. Below are the troubleshooting curl
statements. Thoughts?
Staging:
==============================
$ curl -D - -H "Origin:
https://example.com"
"
https://acme-staging.api.letsencrypt.org/directory"
HTTP/1.1 200 OK
Server: nginx
Content-Type: application/json
Content-Length: 279
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Link, Replay-Nonce
Access-Control-Max-Age: 86400
Replay-Nonce: fNlib7TXpYo8t5OuSPsDXBq61YZog4AUGcSgw3m4dL4
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Access-Control-Allow-Origin: *
Expires: Sun, 15 Nov 2015 20:41:21 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 15 Nov 2015 20:41:21 GMT
Connection: keep-alive
==============================
Production:
==============================
$ curl -D - -H "Origin:
https://example.com"
"
https://acme-v01.api.letsencrypt.org/directory"
HTTP/1.1 200 OK
Server: nginx
Content-Type: application/json
Content-Length: 263
Replay-Nonce: g5gJ7vlMmAg35fRFy_BKUoZO7Y556nFnzMPSWwMoBEA
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Access-Control-Allow-Origin: *
Expires: Sun, 15 Nov 2015 20:41:33 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 15 Nov 2015 20:41:33 GMT
Connection: keep-alive
==============================
-Daniel Roesler