Splunk with SAML for authentication: How to obtain certificate or metadata.xml file?

Path Finder

We are about to integrate Splunk with SAML for authentication, but the SAML team is asking for either the SP certificate file or metadata.xml file.

Can some one please help me where can I get the files from, or which command on Splunk Unix server I should fire to get these files?

0 Karma

Splunk Employee
Splunk Employee

@vikram_m - Did the answer provided by pgreer help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!

0 Karma

Splunk Employee
Splunk Employee

Depending on the version you're on it differs a bit.

With 6.5.x you can enter Settings->Access Controls->Authentication Method then click on the 'SAML' radio button option, then click on the 'Configure Splunk to use SAML' link that appears. Once in the SAML Groups page, click on the green 'SAML Configuratin' button in the upper right corner. In the sub-window that pops up there is a button to download the metadata.

In versions prior to 6.5.x (6.4.x, 6.3.x) go to your search head URL at http(s)://:port/saml/spmetadata

NOTE: That URL above will actually work for 6.5.x as well. In previous versions you had to copy/paste the XML from the page to a file, in 6.5.x that URL triggers a download/save of the XML file.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...