If the error is seen while logging in using SAML as per the screenshot, please investigate using below steps
Go to GUI > Settings > Authentication Methods > SAML settings > configure SAML > IdP certificate chain
Verify whether there are 3 certificate chains present in IdP certificate chains tab. The chains should look like below:
-----BEGIN CERTIFICATE----- ... (the root certificate for the CA)... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... (the intermediate certificate)... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... (the leaf certificate)... -----END CERTIFICATE-----
Double check whether the certificates are present on the back end. Login using CLI (if you are on Splunk Cloud, Support would have to do this) and check the idpCerts directory
$SPLUNK_HOME/etc/auth/idpCerts/
If the 3 certificate chains have been set up properly, Splunk would create a directory called idpCertChain_1. Inside this directory there should be 3 .pem files as seen below
ls $SPLUNK_HOME/etc/auth/idpCerts/idpCertChain_1 cert_1.pem cert_2.pem cert_3.pem
Sometimes there are both certificate files in idpCertChain_1 as well as a single idpCert.pem file in idpCerts. This would cause a clash or obstruction of certificate validation.
ls $SPLUNK_HOME/etc/auth/idpCerts/ idpCert.pem
-----BEGIN CERTIFICATE----- ... (the root certificate for the CA)... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... (the intermediate certificate)... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... (the leaf certificate)... -----END CERTIFICATE-----Please note: this IdP certificate should be coming from the IdP and not Splunk side. Please contact the IdP side to get certificates in the correct order.
ls $SPLUNK_HOME/etc/auth/idpCerts/ idpCert.pem
ls $SPLUNK_HOME/etc/auth/idpCerts/idpCertChain_1 cert_1.pem cert_2.pem cert_3.pem2. Remove the idpCert.pem file by moving it to another directory
#make a temporary directory $ mkdir $SPLUNK_HOME/tmp/case_id_123/$ ls -lrt $SPLUNK_HOME/tmp/ total 4 drwxrwx--- 2 splunk splunk 4096 Feb 9 03:59 case_id_123#move the idpCert.pem to the temporary directory $ mv $SPLUNK_HOMEetc/auth/idpCerts/idpCert.pem $SPLUNK_HOME/tmp/case_id_123/$ ls -lrt $SPLUNK_HOME/tmp/case_id_123/ total 4 -rw-r----- 1 splunk splunk 1882 Feb 8 22:12 idpCert.pem#check that in idpCerts directory there's only the certificate chain directory $ ls -lrt $SPLUNK_HOME/etc/auth/idpCerts/ total 4 drwx------ 2 splunk splunk 4096 Feb 8 22:20 idpCertChain_1
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |