Open RudolfCardinal opened 1 year ago
@RudolfCardinal I'm running 20.04 / python 3.8 so I've tried to reproduce this in a GitHub workflow on the cherrypy-ubuntu22.04 branch but it seems to be working. See https://github.com/ucam-department-of-psychiatry/camcops/actions/runs/4924867021/jobs/8798419561
@RudolfCardinal which version of OpenSSL are you using?
It's failed on two machines so far, both recently upgraded; one is out of commission but on the other: Ubuntu 22.04.2 LTS with openssl version
returning:
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
It's failed on two machines so far, both recently upgraded; one is out of commission but on the other: Ubuntu 22.04.2 LTS with
openssl version
returning:OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
The GitHub workflow reports the same https://github.com/ucam-department-of-psychiatry/camcops/actions/runs/4979371839/jobs/8910877312.
I wonder if it is somehow set up differently. Is there something stale in /etc/ssl/openssl.cnf
?
This is odd. It looks like /etc/ssl/openssl.conf
is the same, e.g. via the debdiffconf
script at https://unix.stackexchange.com/questions/72746/ (tweaked to report no differences explicitly), debdiffconf /etc/ssl/openssl.conf
gives
Trying openssl...
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 openssl amd64 3.0.2-0ubuntu1.9 [1,185 kB]
Fetched 1,185 kB in 0s (13.0 MB/s)
Found in openssl
No differences found.
With an old or a new self-signed certificate and
camcops_server serve_cherrypy
, which used to work fine, after an upgrade to Ubuntu 22.04.2 LTS (but a clean CamCOPS venv installation), I'm getting:Gunicorn works fine with the same SSL certificates. Martin, have you seen this? An upgrade to the latest version of CherryPy made no difference.