Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-52

Token Authentication failing in clusters with self-signed certificates

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Known Issue
    • RHOAI DW 2.7, RHOAI DW 2.8, RHOAI DW 2.9, RHOAI DW - 1, RHOAI DW - 2, RHOAI DW - 3

      cgoern1@redhat.com ran into the following issue:

       auth = TokenAuthentication(
      token = "<text>",
      server = "<server>"
      skip_tls=False
      )
      auth.login()
      ---------------------------------------------------------------------------
      SSLCertVerificationError Traceback (most recent call last)
      File /opt/app-root/lib64/python3.9/site-packages/urllib3/connectionpool.py:715, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
      714 # Make the request on the httplib connection object.
      --> 715 httplib_response = self._make_request(
      716 conn,
      717 method,
      718 url,
      719 timeout=timeout_obj,
      720 body=body,
      721 headers=headers,
      722 chunked=chunked,
      723 )
      725 # If we're going to release the connection in ``finally:``, then
      726 # the response doesn't need to know about the connection. Otherwise
      727 # it will also try to release it and we'll have a double-release
      728 # mess.
      ... many more errors

       

            mcampbel@redhat.com Mark Campbell
            aasthana@redhat.com Anish Asthana
            Srihari V Srihari V
            RHOAI Distributed Workloads
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: