ceph-dashboard: prometheus_receiver shows the error "x509: certificate is valid for ceph-dashboard, not XXX"

Solution Unverified - Updated -

Issue

  • ceph-dashboard: prometheus_receiver shows the error x509: certificate is valid for ceph-dashboard, not XXX.
  • Error in detail:
level=error ts=2021-08-16T00:20:20.004Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="Post https://mon3:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon3" context_err="context deadline exceeded"
level=error ts=2021-08-16T00:20:20.004Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="Post https://mon2:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon2" context_err="context deadline exceeded"
level=error ts=2021-08-16T00:20:20.004Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="Post https://mon1:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon1" context_err="context deadline exceeded"
level=error ts=2021-08-16T00:20:20.004Z caller=dispatch.go:266 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Post https://mon3:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon3; Post https://mon2:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon2; Post https://mon1:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon1"

Environment

  • Red Hat Ceph Storage 4.x.
  • Red Hat Ceph Storage 5.0.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content