Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-22583

SSL_ERROR_BAD_CERT_DOMAIN when contains comma in DNS Name entry

    • None
    • None
    • 2
    • rhel-sst-security-crypto
    • ssg_security
    • 24
    • 26
    • 3
    • False
    • Hide

      None

      Show
      None
    • No
    • Crypto24Q2, Crypto24Q3
    • Hide

      NSS test client can verify a cert with a SAN containing a comma.

      Show
      NSS test client can verify a cert with a SAN containing a comma.
    • Pass
    • None
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      What were you trying to do that didn't work?

      Access to a internal website from Firefox ESR.

       

      That work with Google Chrome, Chromium, curl and openssl.

      Please provide the package NVR for which bug is seen:

      $ rpm -qa | grep -i firefox
      firefox-91.8.0-1.el8_5.x86_64

      How reproducible:

      Go on a website have a certificate with multiple DNS Name entries. The before last contains comma delimiters inside. The last is the good one.

       

      Ex (Subject Alt Names), DNS Name's :

      • sub1.internal.lan
      • sub1.eu.internal.lan
      • sub1
      • sub0.internal.lan
      • sub0.eu.internal.lan
      • app.internal.lan,sub0.internal.lan,sub0.eu.internal.lan,sub0,sub1.internal.lan,sub1.eu.internal.lan,sub1
      • app.internal.lan

      Steps to reproduce

      1. Create a website certificate with the exact order of DNS Name entries given above
      2. Go on https://app.internal.app
      3. Get Error code: SSL_ERROR_BAD_CERT_DOMAIN

      Expected results

      Can navigate on the website without "Warning: Potential Security Risk Ahead" or errors.

      Actual results

      Warning: Potential Security Risk Ahead

      Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for app.internal.lan. The certificate is only valid for the following names: sub1.internal.lan, sub1.eu.company.lan, sub1, sub0.internal.lan, sub0.eu.company.lan, sub0, hril.internal.lan,sub0.internal.lan,sub0.eu.company.lan,sub0,sub1.internal.lan,sub1.eu.company.lan,sub1, app.internal.lan

      Error code: SSL_ERROR_BAD_CERT_DOMAIN

              rrelyea@redhat.com Robert Relyea
              quentin.laffitte Quentin LAFFITTE (Inactive)
              Robert Relyea Robert Relyea
              Alexander Sosedkin Alexander Sosedkin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: