View Single Post
Old 07-21-2019, 11:25 AM   #234
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,911
Karma: 6120478
Join Date: Nov 2009
Device: many
Odamizu,

Are you okay using the command line (Terminal.app) and if so would you be willing to try the following for me.

This assumes you have installed version 0.9.16 in Sigil.app in /Applications. If not we will have to modify the commands:

1. First fire up Terminal.app and check to see if you have a /usr/local/ssl directory

Code:
ls /usr/local/ssl
2. If not, we will now create that directory as follows. It will prompt you for your own password.

Code:
cd /usr/local
sudo mkdir ssl
3. Now lets move inside the Sigil.app itself and do an ls to look for a certificate

Code:
cd /Applications/Sigil.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/certifi/

ls
4. Look for a file called cacert.pem. Copy it into /usr/local/ssl/ directory and rename it to cert.pem by doing the following:

Code:
sudo cp cacert.pem /usr/local/ssl/cert.pem
5. Now close out of Terminal.app and fire up Sigil, remember to reset the last date checked in epubcheck's preferences json file and then try using epubcheck again.

Does this fix the issue?

Thanks,

KevinH


Quote:
Originally Posted by odamizu View Post
Sadly, when I tested a clean install of the plugin on 0.9.16, I got the same error:

Code:
*** PYTHON ERROR ***
SSL version: OpenSSL 1.1.1c-dev xx XXX xxxx
An exception of type URLError occurred.
Arguments:
(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'),)
Not a biggie for me as I have disabled the auto-update ("github": false) and am content to manually update the plugin when necessary, but I wanted to report this in case it's helpful.
KevinH is online now   Reply With Quote