Uploaded image for project: 'Observability and Data Analysis Program'
  1. Observability and Data Analysis Program
  2. OBSDA-137

alertmanager send email had x509 certs problem

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • None
    • Alertmanager
    • False
    • False
    • Undefined
    • 0

      Hi Team

      Our customer setup send email to them mail server, because of them mail server using the self sign certs, then there is a errors

      level=error ts=2021-02-24T16:49:13.421Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="send STARTTLS command: x509: certificate signed by unknown authority" context_err="context deadline exceeded"
      level=error ts=2021-02-24T16:49:13.421Z caller=dispatch.go:301 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="send STARTTLS command: x509: certificate signed by unknown authority"

      Follow the prometheus setup we had a workaround fix the problem

      email_configs:

      • to: xxxxx
        from: xxxxx
        smarthost: xxxxx
        auth_username: xxxx
        auth_password: xxxxxx
        require_tls: false
        tls_config:
        insecure_skip_verify: true <====== add this can fix the problem

      But customer want to add them certs in alertmanager, I check the configmap manager by operator, so we can not add it by manual

      Customer want to add self sign certs in the alertmanager cm

      Thank you

            cvogel1 Christian Heidenreich (Inactive)
            rhn-support-yaoli Yao Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: