Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-4988

LDAP disable_cert_validation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.10.3
    • Fix Version/s: None
    • Component/s: security
    • Labels:
      None

      Description

      You might get the following error, because your cat cert is being validated properly.

      ```
      LDAPSocketOpenError: ('unable to open socket', [(LDAPSocketOpenError('socket ssl wrapping error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)',),
      ```

      I think it makes sense to add non-default parameter "disable_cert_validation=False" so that instead of `tls_configuration = Tls(validate=ssl.CERT_REQUIRED)` the code would do `tls_configuration = Tls(validate=ssl.CERT_NONE)`

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                greenpau Paul Greenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: