Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3542

Add option to not verify an SSL certificate

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 5.6.1
    • None
    • None

    Description

      Low hanging fruit.

      We gave the 1.2.5 + S3 package to Patrice @ ABS (iirc?) to play with. It is not working for him b/c the S3 boxes he's using (some on-prem WD boxes that impl S3 protocol) have SSL certs that can't be verified.

      Using the libmarias3 lib directly and setting S3NOVERIFY=1, he can interact with it. SM doesn't currently have the option to do that, but should have one. Just needs to know to init the S3 lib with that var or not, don't have to implement anything substantial.

      Attachments

        Activity

          plinel patrice added a comment -

          the problem is not that the SSL cert can't be verified, it is the url construction that makes it not verifiable. constructing the url in the same way it is when using an IP would make it work. for reference : http://www.wryway.com/blog/aws-s3-url-styles/

          plinel patrice added a comment - the problem is not that the SSL cert can't be verified, it is the url construction that makes it not verifiable. constructing the url in the same way it is when using an IP would make it work. for reference : http://www.wryway.com/blog/aws-s3-url-styles/

          Change should be made to storagemanager.cnf to support setting these option in libmarias3 via StorageManager
          SM_USE_HTTP (default disabled – current default is https)
          SM_SSL_VERIFY (default enabled)

          ben.thompson Ben Thompson (Inactive) added a comment - Change should be made to storagemanager.cnf to support setting these option in libmarias3 via StorageManager SM_USE_HTTP (default disabled – current default is https) SM_SSL_VERIFY (default enabled)

          cnf file options added:

          1. Setting use_http to 'enabled' for host to use http instead of https
          2. The default is use_http = disabled (https)
          3. use_http = enabled
          1. Setting ssl_verify to 'disabled' for how to not use SSL verification
          2. Default is ssl_verify = enabled
          3. ssl_verify = disabled
          ben.thompson Ben Thompson (Inactive) added a comment - cnf file options added: Setting use_http to 'enabled' for host to use http instead of https The default is use_http = disabled (https) use_http = enabled Setting ssl_verify to 'disabled' for how to not use SSL verification Default is ssl_verify = enabled ssl_verify = disabled

          People

            ben.thompson Ben Thompson (Inactive)
            pleblanc Patrick LeBlanc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.