Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23612

SAML IdP certificate is not accepted, if comments are present

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.0.22, 6.4.7, 7.0.0alpha6
    • Frontend (F)
    • None
    • Sprint 107 (Dec 2023), Sprint candidates, S2401

      Steps to reproduce:

      1. Configure SAML auth with any provider
      2. Place the certificates where they belong
      3. Edit the IdP certificate by adding any comment to it (example on the screenshot)
      4. Try logging in using SAML

      Result:
      "- Unable to extract public key" error (second screenshot)

      Expected:
      Successful login because comments beyond the beginning and end of the certificate should be ignored. 

       

      Can cause problems when automating configuration. For example Ansible adds this comment:

      # ansible managed. ALL CHANGES WILL BE LOST.

        1. first.jpeg
          first.jpeg
          254 kB
        2. second.jpeg
          second.jpeg
          10 kB

            gcalenko Gregory Chalenko
            mbuz Maksym Buz
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: