Any help installing Calibre on Linux behind a firewall would be appreciated.
I'm running the standard
Linux Installer command:
sudo -v && wget -nv -O-
https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
This times out with the error:
Code:
2014-12-11 14:57:00 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [25619/25619] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 648, in main
File "<string>", line 620, in download_and_extract
File "<string>", line 612, in get_tarball_info
File "<string>", line 576, in get_https_resource_securely
File "<string>", line 493, in connect
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
raise err
socket.timeout: timed out
My shell's http_proxy and https_proxy vars are all set and working correctly, and a quick check of of 'proxies = urllib.getproxies()' shows that Python is correctly grabbing the proxies.
Rather, this looks to be some certificate issue.
Examining the Python code returned by github, I see that the installer stalls at grabbing the signature at
https://status.calibre-ebook.com/tarball-info/x86_64. I can browse and see this signature if I enter a certificate exception or save the cert and load into FF's server certificates. However, wget shows this:
Code:
$ wget https://status.calibre-ebook.com/tarball-info/x86_64
--2014-12-11 15:04:59-- https://status.calibre-ebook.com/tarball-info/x86_64
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:3128... connected.
ERROR: cannot verify status.calibre-ebook.com's certificate, issued by ‘/C=IN/ST=Maharashtra/L=Mumbai/O=calibre/CN=calibre-ebook.com’:
Unable to locally verify the issuer's authority.
To connect to status.calibre-ebook.com insecurely, use `--no-check-certificate'.
I've used CentOS's KDE System Settings>SSL Preferences to add the PEM, but this doesn't help Python's urllib to grab the signature and tarball at
https://status.calibre-ebook.com, with its self-signed cert.
Any fixes to this issue?