For me, uncommenting the lines as indicated in the reddit-post worked.
/etc/ssl/openssl.cnf
[provider_sect]
default = default_sect
legacy = legacy_sect # <-- uncommnet this line
[default_sect]
activate = 1
[legacy_sect] # <-- uncommnet this line
activate = 1 # <-- uncommnet this line```