I updated the /etc/pki/tls/openssl.cnf
file according to this post: python - SSL error unsafe legacy renegotiation disabled - Stack Overflow
with these lines:
[openssl_init]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
Options = UnsafeLegacyRenegotiation
This is definitly not a permanent solution. Now everything seems to work for me. Is somebody else encountering this issue? How should I proceed with this?