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.
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!!
No, not in bin. Run it directly in your root directory.
[root@localhost ~]# pwd
[root@localhost ~]# openssl x509 -noout -enddate -in /opt/splunk/etc/auth/server.pem
notAfter=Jan 10 06:40:29 2022 GMT
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.