install tools to https galaxy instance with insecure ssl?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

install tools to https galaxy instance with insecure ssl?

Evan Bollig PhD
Hey Björn,

I'm using your galaxy-stable docker image to boot Galaxy on port 443
by default (i.e., with USE_HTTPS=True). Since the certificate is
self-signed, transactions with the URL (https://127.0.0.1) warn of
insecure SSL. Is it possible to force shed-install to use --insecure
and accept the SSL cert for CLI tool installation?

[centos@estasdf ~]$ docker exec -it 2b8 install-tools newtools.yml
Enable installation from the Test Tool Shed.
System is up and running. Starting with the installation.
Traceback (most recent call last):
  File "/usr/local/bin/shed-install", line 11, in <module>
    sys.exit(script_main())
  File "/usr/local/lib/python2.7/dist-packages/ephemeris/shed_install.py",
line 764, in script_main
    itm.install_tools()
  File "/usr/local/lib/python2.7/dist-packages/ephemeris/shed_install.py",
line 636, in install_tools
    itl = installed_tool_revisions(self.gi)  # installed tools list
  File "/usr/local/lib/python2.7/dist-packages/ephemeris/shed_install.py",
line 240, in installed_tool_revisions
    itl = tsc.get_repositories()
  File "/usr/local/lib/python2.7/dist-packages/bioblend/galaxy/toolshed/__init__.py",
line 36, in get_repositories
    return self._get()
  File "/usr/local/lib/python2.7/dist-packages/bioblend/galaxy/client.py",
line 136, in _get
    status_code=r.status_code)
bioblend.ConnectionError: HTTPSConnectionPool(host='localhost',
port=443): Max retries exceeded with url:
/api/tool_shed_repositories?key=admin?key=admin (Caused by
SSLError(SSLError(1, '_ssl.c:510: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed'),)), 0
attempts left:

Cheers,
-E

--
Evan F. Bollig, PhD
Scientific Computing Consultant, Application Developer | Scientific
Computing Solutions (SCS)
Minnesota Supercomputing Institute | msi.umn.edu
University of Minnesota | umn.edu
[hidden email] | 612-624-1447 | Walter Lib Rm 556
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
Loading...