I installed asciinema via macports and Python via the Mac OS X installer, then ran the Install Certificates.command. Here are the versions of what I’m running:
asciinema 2.0.1
OpenSSL 1.0.2p 14 Aug 2018
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
macOS 10.13.6
I can record .cast files just fine — but when I try to upload them, I get:
asciinema: upload failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)>
asciinema: retry later by running: asciinema upload tmpxiczb8r9-ascii.cast
Approach 3: I patched the asciinema client with an additional --insecure flag to deal with self-signed certificates. Works great for play and upload use cases against asciinema-server urls with imperfect SSL certs. You can grab the python wheel and install it using these two commands: