Forums

SSL?

Is it possible to setup ssl for my webapp on pythonanywhere?

Not yet, but that's something I am investigating today. That and using SSL for other things generally.

Are you trying to use the Web2Py admin interface? We know that requires SSL but there is a work around for now.

http://stackoverflow.com/questions/8386240/how-do-i-deploy-web2py-on-pythonanywhere

yep, I have web2py setup and the workaround in place but would like to get it running with https. I'll keep an eye out for SSL support coming online. Thanks for the link and the quick reply.

-Bryan

No problem!

We've just decided how to do this and we have a wildcard certificate so it shouldn't be too far away. Maybe Giles and I can even get it done before Christmas? Depending on how complicated it ends up being with our setup. I'll remember to drop you an email when it is done though so you can test it out for us :-)

great, looking forward to it

Let me know as well. Also see my recent post on suggestions for a request applicable to the (hopefully forthcoming) paid subscriptions, and custom SSL certs.

Will do, it's not far away now. It's running through our integration loop and hasn't broken TOO many things :-)

Argh, it's turned out to be less workable than expected -- serious problems with getting it working reliably on the WebSocket connections we make back to the server, and there's no point in making the web pages on the site http if the consoles aren't secure (especially because Firefox gets upset if you make non-secure WS connections back from a secure page). We've backed out the SSL stuff temporarily while we talk to various people about trying to get various apparent bugs in our dependencies sorted out.

Just a quick mention for anyone interested in the issue. We're soft-launching HTTPS support for users webapps, it's ready to use now, and it should "just work"... let us know how you get on!

Hey, I'm running a django app on pythonanywhere and i currently get the following message when i attempt to use https.

"You attempted to reach www.khodeir.pythonanywhere.com, but instead you actually reached a server identifying itself as *.pythonanywhere.com."

Hello,

When I try and go to your domain, I get an 'unconfigured' error

I see that now. That must be because i used a custom domain when creating the app?

Is this why https doesn't "just work" for me as well?

Is this what I have to do: https://www.pythonanywhere.com/wiki/SSLOwnDomains ?

I'm afraid you're asking the wrong person :-) I'm not a developer, just a helpful, friendly user. But following the guys instructions is rarely a bad place to start

Hi @Khodeir -- as far as I can see, you have one web app, on a custom domain, let's call it http://www.foo.com/ (I've not posted a link to the real domain name here just in case you'd rather keep it private). That's all configured and works properly over HTTP. So I guess what you want to do is get it working with HTTPS, so that if you go to https://www.foo.com/, you'll get the page without warnings.

What you need is an SSL certificate for the site. There are instructions on how to do that, and how to pass it on to us so that we can install it on your site, on this help page.

PS you're right, the reason SSL didn't "just work" for you is because you used a custom domain. Web apps on yourusername.pythonanywhere.com can use the certificate for PythonAnywhere, so we can install that automatically. For your own custom domain, you need to own the certificate -- we (for obvious security reasons) can't do that for you.