The core of the code looks like this:
resource = WSGIResource(reactor, reactor.getThreadPool(), WSGIHandler())
endpoint = 'tcp:port=8000'
server = strports.service(endpoint, server.Site(resource))
server.setServiceParent(application)
This has worked great for a while. However, we have some views that we require https on, and so this dev server doesn't allow us to get to those views at all. I generated a .key file and a .crt file with openssl, and then cat'd them together to make a pem, and then changed the endpoint to be...
endpoint = 'ssl:port=8000:privateKey=/path/to/key.pem'
Now when I open my browser and type
https://localhost:8000, chrome just hangs. I don't really know how to diagnose this, because I don't really know anything about SSL (it's all just magic security goodness to me). I don't necessarily need a direct answer (though it will certainly make me look good to all the other devs), but maybe some pointers in the right direction would help.