maas login foo https://maas-lab:5443/MAAS/ --cacerts ~/cacerts.pem
Fails with an error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='10.0.1.21', port=5443): Max retries exceeded with url: /MAAS/api/2.0/account/?op=create_authorisation_token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
maas login foo https:/ /maas-lab: 5443/MAAS/ --cacerts ~/cacerts.pem
Fails with an error:
requests. exceptions. SSLError: HTTPSConnection Pool(host= '10.0.1. 21', port=5443): Max retries exceeded with url: /MAAS/api/ 2.0/account/ ?op=create_ authorisation_ token (Caused by SSLError( SSLError( "bad handshake: Error([('SSL routines', 'tls_process_ server_ certificate' , 'certificate verify failed')])")))