There are a error when i login using username, pass:
if server.login(User("admin", "admin")):
File "C:\Python27\lib\site-packages\pynessus\nessus.py", line 205, in login
response = self._api_request("POST", "/login", params)
File "C:\Python27\lib\site-packages\pynessus\nessus.py", line 157, in _api_request
response = json.loads(self._request(method, target, json.dumps(params)))
File "C:\Python27\lib\site-packages\pynessus\nessus.py", line 130, in _request
self._connection.request(method, target, params, self._headers if headers is None else headers)
File "C:\Python27\lib\httplib.py", line 1053, in request
self._send_request(method, url, body, headers)
File "C:\Python27\lib\httplib.py", line 1093, in _send_request
self.endheaders(body)
File "C:\Python27\lib\httplib.py", line 1049, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 893, in _send_output
self.send(msg)
File "C:\Python27\lib\httplib.py", line 855, in send
self.connect()
File "C:\Python27\lib\httplib.py", line 1274, in connect
server_hostname=server_hostname)
File "C:\Python27\lib\ssl.py", line 352, in wrap_socket
_context=self)
File "C:\Python27\lib\ssl.py", line 579, in init
self.do_handshake()
File "C:\Python27\lib\ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
There are a error when i login using username, pass:
if server.login(User("admin", "admin")):
File "C:\Python27\lib\site-packages\pynessus\nessus.py", line 205, in login
response = self._api_request("POST", "/login", params)
File "C:\Python27\lib\site-packages\pynessus\nessus.py", line 157, in _api_request
response = json.loads(self._request(method, target, json.dumps(params)))
File "C:\Python27\lib\site-packages\pynessus\nessus.py", line 130, in _request
self._connection.request(method, target, params, self._headers if headers is None else headers)
File "C:\Python27\lib\httplib.py", line 1053, in request
self._send_request(method, url, body, headers)
File "C:\Python27\lib\httplib.py", line 1093, in _send_request
self.endheaders(body)
File "C:\Python27\lib\httplib.py", line 1049, in endheaders
self._send_output(message_body)
File "C:\Python27\lib\httplib.py", line 893, in _send_output
self.send(msg)
File "C:\Python27\lib\httplib.py", line 855, in send
self.connect()
File "C:\Python27\lib\httplib.py", line 1274, in connect
server_hostname=server_hostname)
File "C:\Python27\lib\ssl.py", line 352, in wrap_socket
_context=self)
File "C:\Python27\lib\ssl.py", line 579, in init
self.do_handshake()
File "C:\Python27\lib\ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)