Forums

problems with letsencrypt

Hello,

I have configured everything according to https://help.pythonanywhere.com/pages/LetsEncrypt/. When I run:

~/letsencrypt.sh/letsencrypt.sh --cron --domain godfryd.pythonanywhere.com --out . --challenge http-01

I get following error:

ERROR: Problem connecting to server (get for https://acme-staging.api.letsencrypt.org/directory; curl returned with 56)

When I try to get to this server using wget it also fails:

$ wget https://acme-staging.api.letsencrypt.org/directory

--2016-09-08 04:33:36--  https://acme-staging.api.letsencrypt.org/directory
Resolving proxy.server (proxy.server)... 10.153.157.123
Connecting to proxy.server (proxy.server)|10.153.157.123|:3128... connected.
Proxy tunneling failed: ForbiddenUnable to establish SSL connection.

I was trying staging env acme-staging and production acme-01 one as well.

Do you know how to solve this problem?

Regards,

Michal

Heh. That's because the letsencrypt servers are not on the whitelist for free accounts. To be honest, I'm not really sure of the utility of a letsencrypt cert for a free account, since we already provide a cert for all *.pythonanywhere.com domains. So there's no need to get a different cert.

Great! How could I configure my app to use your SSL configuration?

You don't have to do anything. It's already done. Just use https.