Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-25280

Fix postgres certificate error: x509 SAN dNSName is malformed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • Global Hub 1.7.0
    • Global Hub 1.7.0
    • Global Hub
    • None
    • Quality / Stability / Reliability
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • GH Train-34
    • Low
    • None

      Error message:

      ```
      2025-10-17T01:58:03.359Z INFO storage/storage_reconciler.go:317 wait database ready, failed to connect database: failed to connect to database: failed to connect to `user=postgres database=hoh`: 172.18.0.3:32432 (172.18.0.3): failed to write startup message: write failed: tls: failed to parse certificate from server: x509: SAN dNSName is malformed
      2025-10-17T01:58:03.359Z DEBUG config/storage_config.go:162 Get Storage Connection: true
      ```

      The postgres certificate has a malformed SAN dNSName which causes TLS connection failures.

              rh-ee-myan Meng Yan
              rh-ee-myan Meng Yan
              Yaheng Liu Yaheng Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: