Skip to content
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

Problem with verification of SSL of Nessus API #1

Open
bl4ckc00k1e opened this issue Sep 5, 2018 · 1 comment
Open

Problem with verification of SSL of Nessus API #1

bl4ckc00k1e opened this issue Sep 5, 2018 · 1 comment

Comments

@bl4ckc00k1e
Copy link

./list-scanners.py
Traceback (most recent call last):
File "./list-scanners.py", line 14, in
session = requests.post('https://127.0.0.1:8834/session', data = data)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 108, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)

What can i do? thanks

@bl4ckc00k1e
Copy link
Author

well, with parameter verify=True on header is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant