I followed the instructions to enable ssl support in the INSTALL.txt file. https works fine but when I try to use the maas-cli I get this error:
ubuntu@lenovo-RD230-01:~$ maas-cli api login maas https://10.98.0.13/MAAS/api/1.0/ u3ZgXLk6tCrBJKv6tr:6AQQN7FzLXCNjyCYFM:x4k7jdCNW6DDfSV7vCRg2vay4zPHymZ6
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/maascli/__main__.py", line 18, in <module>
main()
File "/usr/lib/python2.7/dist-packages/maascli/__init__.py", line 84, in main
options.execute(options)
File "/usr/lib/python2.7/dist-packages/maascli/api.py", line 124, in __call__
description = fetch_api_description(url)
File "/usr/lib/python2.7/dist-packages/maascli/api.py", line 79, in fetch_api_description
ascii_url(url_describe), "GET")
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1543, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1293, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1229, in _conn_request
conn.connect()
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1004, in connect
raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
We need to add an option to not validate certificates. pwnetics. wordpress. com/2012/ 02/06/ssl- certificate- verification- and-httplib2/
http://