I was bumping to SSL issues when creating new virtualenvs with pyenv. Found tons of similar issues but the main problem for me wasn’t a faulty pyenv or SSL installation but an old version of a specific pyenv Python version. As soon as I installed a new Python version, everything worked fine.
This isn’t exactly a huge surprise or fix but wanted to document the issue here to remind myself when I eventually run into similar issues in future.