Installation

Self Signed Certificates in splunk

rohitvjoshi
Path Finder

Hi Team ,

I am able to see few certificate under /opt/splunk/etc/auth , Can some one tell me how to check the certificate expiry date.

Tags (1)
0 Karma
1 Solution

MoniM
Communicator

Hi @rohitvjoshi ,
you can use this command to view your certificate expiry date:-

$ openssl x509 -noout -enddate -in $SPLUNK_HOME/etc/auth/server.pem

Hope it helps!!
Thanks

View solution in original post

MoniM
Communicator

Hi @rohitvjoshi ,
you can use this command to view your certificate expiry date:-

$ openssl x509 -noout -enddate -in $SPLUNK_HOME/etc/auth/server.pem

Hope it helps!!
Thanks

rohitvjoshi
Path Finder

I have to run this on bin right?

0 Karma

MoniM
Communicator

No, not in bin. Run it directly in your root directory.
For example:-

[root@localhost ~]# pwd
/root
[root@localhost ~]# openssl x509 -noout -enddate -in /opt/splunk/etc/auth/server.pem
notAfter=Jan 10 06:40:29 2022 GMT

0 Karma

rohitvjoshi
Path Finder

it worked thanks

0 Karma

jkat54
SplunkTrust
SplunkTrust

Splunk does ship with openssl binary in $splunkhome/bin

This is true for the UF and full installs. So if openssl isn't installed on the server, you can try using the one that ships with splunk.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...