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

SSL_ERROR_BAD_CERT_DOMAIN when contains comma in DNS Name entry

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-8.6.0
    • nss
    • None
    • 1
    • sst_security_crypto
    • ssg_security
    • 3
    • False
    • Hide

      None

      Show
      None
    • Crypto24Q2
    • None
    • 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
            Robert Relyea Robert Relyea
            SSG Security QE SSG Security QE
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: