Comments (9)
I know this an old issue but thought I'd give an answer. On the client side if you are using a python virtualenv then your probably using the cert located in your venv under lib/python3.6/site-packages/certifi/cacert.pem or whatever your python version is. Otherwise you are probably using the cert in /etc/ssl/certs/ca-certificates.crt.
#!/usr/bin/env python3
import urllib3
import sys
import certifi
http = urllib3.PoolManager(cert_reqs='CERT_REQUIRED', ca_certs=certifi.where())
print (certifi.where())
Code might help to identify which cert you are using.
from ansible-galaxy-tools.
We have the same issue on our dev instances which don't have proper SSL certificats (but behind a VPN)
So far, we find a trick but using the Galaxy server directly and not the nginx url (if uwsgi is setted with http://0.0.0.0:8080
)
from ansible-galaxy-tools.
@lecorguille I do not understand what your 'trick' is. Can you explain exactly what you did? (OK en francais si c'est plus facile, I'm happy to translate your answer).
from ansible-galaxy-tools.
This trick is to not use a socket but an url for thé communication between uwsgi and nginx. Than use the galaxu url directely instead of the nginx one.
Not a big deal
from ansible-galaxy-tools.
Thanks @lecorguille but I am not a UNIX sysadmin, I am just running galaxy locally out of the box in dev mode. Please can you give more precise instructions? What file(s) do I need to change and what lines should be edited with what command?
my galaxy.yml has currently:
uwsgi:
# The address and port on which to listen. By default, only listen to
# localhost (galaxy will not be accessible over the network). Use
# ':8080' to listen on all available network interfaces.
http: 127.0.0.1:8080
from ansible-galaxy-tools.
@bifxcore If you're running a local dev instance, in general, there should be no SSL issue since local dev mode is http by default, not https. Can you provide more details?
from ansible-galaxy-tools.
Toolshed is on https, so when you are trying to communicate with it and are unable to verify SSL you'll get this.
from ansible-galaxy-tools.
@martenson Is this a custom toolshed? The main toolshed has a valid certificate right?
from ansible-galaxy-tools.
iiuc this is not an issue on the server side, this is local system not being able to verify it
from ansible-galaxy-tools.
Related Issues (20)
- tool_panel_section_label isn't working, nor is tool_panel_section_id HOT 6
- urlopen error [Errno 104] Connection reset by peer>", "err_code": 500001 HOT 2
- Installing but hiding tools HOT 4
- install_tool_shed_tools.py HOT 15
- manage_bootstrap_user.py command line parsing HOT 1
- tool_list file loading
- SQL IntegrityError HOT 1
- dynamic and static include in restart_galaxy.yml handler HOT 1
- Tool labels
- Installation behaviour for updated versions HOT 2
- Restart handler mechanism appears to have problems HOT 14
- Create Galaxy bootstrap user Error
- Installed ansible version (for tests) is not compatible with the ansible synthax of the repo
- putative new task/role HOT 2
- Privilege separation support HOT 1
- Empty error aborts role but installation continues HOT 27
- Incompatability with Galaxy 19.05 HOT 2
- ansible-galaxy-tools does not pass the travis test anymore
- SSLCertVerificationError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-galaxy-tools.