Ad Widget

Collapse

SAML is not working properly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dogfiregg
    Junior Member
    • Jun 2021
    • 4

    #1

    SAML is not working properly

    Hi,

    I set up the zabbix with docker image like down below


    everything is working well except SAML.

    Here's my configuration

    Click image for larger version

Name:	auth.png
Views:	8704
Size:	20.1 KB
ID:	425858

    and idp.crt attached into the zabbix-web container with file (tried with volumes : docker-compose and configMap : k8s and file creation : vi editor)

    I was expecting that clicking the SAML button would redirect to the SSO URL. but It's not.
    I got two errors like down below

    Click image for larger version

Name:	login.png
Views:	8434
Size:	11.3 KB
ID:	425859
    Click image for larger version

Name:	error.png
Views:	8434
Size:	8.2 KB
ID:	425860
    • No permissions for system access.
      • I don't know what this mean.
      • Is that mean that I can not excute the index_sso.php which is made with root in the container?
      • but other files are all the root
    • Invalid array settings: idp_cert_or_fingerprint_not_found_and_required


    How can I solve above issue?
    Thank you in advance!
  • ravenlord
    Junior Member
    • Jan 2019
    • 5

    #2
    Hi, I have the same problem, did you solve it?

    Comment

    • emnavarro02
      Junior Member
      • Mar 2021
      • 11

      #3
      Hi,

      I had this problem and managed to solve it.

      In my case, the IDP certificates were stored in the wrong folder.

      Moving the certificates from folder "/usr/share/zabbix/conf/certs/" to "/etc/zabbix/web/certs/" did the trick.
      Last edited by emnavarro02; 17-01-2022, 16:07. Reason: fix typo

      Comment

      • sarang
        Junior Member
        • Jul 2022
        • 3

        #4
        Hello dogfiregg and emnavarro02 I am using Zabbix 6.0 and experiencing same issue while configuring SSO. I added the idp.crt as well as self-signed cert and key to /etc/zabbix/web/certs/ but unable to get rid of this error. Can you please assist and provide solution.

        Click image for larger version

Name:	image.png
Views:	5724
Size:	19.2 KB
ID:	464684​​

        Comment

        • bmcgoang
          Junior Member
          • Feb 2024
          • 2

          #5
          Hello, I know this thread is getting older now, but I'm experiencing the same issue as above. I only get th eline `idp_cert_or_fingerprint_not_found_and_required` when I try to access the SAML login link.

          I have setup Zabbix in Docker using the docker compose for nginx alpine. Running seerver version 6.4.12.

          I have placed the SAML cert and key (named sp.crt and sp.key respectively) in two locations with mapped volumes
          1. /zbx_env/usr/share/zabbix/conf/certs/
          2. /zbx_env/etc/zabbix/web/certs/

          The IdP cert file is also in both of the locations above named idp.crt.

          In the .env_web file I added the lines

          ZBX_SSO_SP_KEY=/usr/share/zabbix/conf/certs/sp.key
          ZBX_SSO_SP_CERT=/usr/share/zabbix/conf/certs/sp.crt
          ZBX_SSO_IDP_CERT=/usr/share/zabbix/conf/certs/idp.crt

          I've tried many variations of this setup at this point, and am still getting the error about the idp cert or fingerprint being invalid. I'd love to get this resolved. Maybe create some better documentation around what needs to happen when running in Docker.

          Thanks in advance for any help,

          Comment

          Working...