Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-7441

X509 certs setup issues when following docs

    XMLWordPrintable

Details

    • 1

    Description


       

      curl -v https://172.23.99.49:18091/pools/default
      -u Administrator:password --cacert ca.pem

      • Trying 172.23.99.49...
      • TCP_NODELAY set
      • Connected to 172.23.99.49 (172.23.99.49) port 18091 (#0)
      • ALPN, offering h2
      • ALPN, offering http/1.1
      • successfully set certificate verify locations:
      • CAfile: ca.pem
        CApath: none
      • TLSv1.2 (OUT), TLS handshake, Client hello (1):
      • TLSv1.2 (IN), TLS handshake, Server hello (2):
      • TLSv1.2 (IN), TLS handshake, Certificate (11):
      • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
      • TLSv1.2 (IN), TLS handshake, Request CERT (13):
      • TLSv1.2 (IN), TLS handshake, Server finished (14):
      • TLSv1.2 (OUT), TLS handshake, Certificate (11):
      • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
      • TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
      • TLSv1.2 (OUT), TLS handshake, Finished (20):
      • TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
      • TLSv1.2 (IN), TLS handshake, Finished (20):
      • SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
      • ALPN, server did not agree to a protocol
      • Server certificate:
      • subject: C=UA; O=My Company; CN=bucketuser
      • start date: Aug 20 22:49:44 2020 GMT
      • expire date: Aug 20 22:49:44 2021 GMT
      • SSL: certificate subject name 'bucketuser' does not match target host name '172.23.99.49'
      • Closing connection 0
      • TLSv1.2 (OUT), TLS alert, close notify (256):
        curl: (60) SSL: certificate subject name 'bucketuser' does not match target host name '172.23.99.49'
        More details here: https://curl.haxx.se/docs/sslcerts.html
        curl failed to verify the legitimacy of the server and therefore could not
        establish a secure connection to it. To learn more about this situation and
        how to fix it, please visit the web page mentioned above.
         
         
         issue with node cert 
         
         

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            isha Isha Kandaswamy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty