=== modified file 'jujuclient/connector.py'
--- jujuclient/connector.py	2016-12-08 17:28:26 +0000
+++ jujuclient/connector.py	2018-06-06 08:36:35 +0000
@@ -103,6 +103,10 @@
         sslopt = {'ssl_version': SSL_VERSION}
         if cert_path:
             sslopt['ca_certs'] = cert_path
+            # Work around
+            # https://github.com/websocket-client/websocket-client/issues/334
+            # by setting the old option as well.
+            sslopt['ca_cert'] = cert_path
             # ssl.match_hostname is broken for us, need to disable per
             # https://github.com/liris/websocket-client/issues/105
             # when that's available, we can just selectively disable

