-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),) #24
Comments
Can you work around this by making your own HTTPConnection and setting Using the latest from master... from taxii2client import Server, _HTTPConnection
server = Server('https://192.168.56.100/taxii/', conn=_HTTPConnection('https://192.168.56.100/taxii/', user='admin', password='letmein', verify=False))
print(server.title) as a real fix we could expose the |
@philroyer-phantom tried your method and got the error below:
|
@m0jtaba, @philroyer-phantom was off by one argument in from taxii2client import Server, _HTTPConnection
server = Server('https://192.168.56.100/taxii/', conn=_HTTPConnection(user='admin', password='letmein', verify=False))
print(server.title) |
Now, I do see @philroyer-phantom suggestion of exposing the |
@gtback, can you assign me this issue? |
I can't right now, but I can ask @robincover to add you to the maintainers of this library (and cti-taxii-server). |
@emmanvg I tried your suggestion got the following:
However I see that you are fixing this by exposing verify. So when that is done then it should be all good? |
@m0jtaba have you pulled the latest changes in |
When I run the code below I am getting an SSLError the certificate that i am using is self signed:
Stack Trace:
The text was updated successfully, but these errors were encountered: