Skip to content

SSL not working #1298

@ghost

Description

Originally reported by: Anonymous


Using a recent checkout of CherryPy 3.2.5 and a recent nightly build of PyPy, SSL support doesn't seem to work.

I have tried pyOpenSSL 0.12 (pypy version), pyOpenSSL 0.14, and CherryPy "builtin". In all cases, CherryPy starts up and runs fine, throws no errors, but I can't connect via HTTPS.

In production I'm using an older (circa 9 months) nightly build of PyPy, CherryPy 3.2.4 and pyOpenSSL 0.12 and it works fine.

My connection code:

#!python

server2 = cherrypy._cpserver.Server()
            server2.socket_port = 443
            server2.socket_host = LISTEN_HOST
            server2.thread_pool = 30
            server2.ssl_module = 'pyopenssl'
            server2.ssl_certificate = SSL_CERTIFICATE_PATH
            server2.ssl_private_key = SSL_KEY_PATH
            server2.subscribe()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions