mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 07:55:51 +03:00
[GH-ISSUE #402] Self signed SSL error #861
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#861
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gfvirga on GitHub (Mar 30, 2020).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/402
Hello, using asciinema command line does not seem to use the SSL certificate from ubuntu trust store.
My company does not allow http to be opened for a fix.
Curl works without ignoring SSL
@ku1ik commented on GitHub (Dec 11, 2021):
asciinema uses Python's built-in HTTP library, so I guess it's the Python installation on Ubuntu that has issue with the local trust store.
@digas commented on GitHub (Nov 14, 2022):
@sickill i'm experiencing the same problem on MACOS (VENTURA can't tell if this was works on other versions)
the only Python i have is from brew installation:
❯ brew list|grep python
python@3.10
python@3.11
python@3.9
(i believe apple as removed python2)
And what i get is :
asciinema: upload failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)> asciinema: retry later by running: asciinema upload /Users/diogo.serra/Downloads/Testing.castand the same for play which makes sense . But does this means that my python is reading the wrong place regarding the CA-certificates ?
Update
@sickill and @gfvirga i found how to resolve the problem .
In my case on MACOS , as we now a days use the python3 from brew and openssl@1.1 and openssl@3 , i removed both openssl (as it say on the installation process it adds the CA-certificates copy to a specific place for each version) by:
brew uninstall --ignore-dependencies --force openssl@3brew uninstall --ignore-dependencies --force openssl@1.1then installed both again with :
brew install openssl@1.1
brew install openssl@3
And during the installation you can read this :
So following the description you just need to copy the CA-certfile to /usr/local/etc/openssl@1.1/certs and /usr/local/etc/openssl@3/certs respectively , and request /usr/local/opt/openssl@1.1/bin/c_rehash and /usr/local/opt/openssl@3/bin/c_rehash respectively
Then i was sucessfully able to upload again my. videos .