Comment 0 for bug 1980436

Revision history for this message
Anton Troyanov (troyanov) wrote : MAAC CLI with anonymous access fails when TLS is enabled

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')])")))