cd splunk/etc/auth
for i in *.pem; do echo $i && openssl x509 -in $i -text |grep -A 2 Validity; done
server.pem
Validity
Not Before: Mar 25 17:03:32 2013 GMT
Not After : Mar 24 17:03:32 2016 GMT
regenerate server.pem
$SPLUNK_HOME/bin/splunk createssl server-cert -d /opt/splunk/etc/auth -n server
....
subject=/CN=server/O=SplunkUser
Getting CA Private Key
unable to write 'random state'
subject= /CN=server/O=SplunkUser
issuer= /C=US/ST=CA/L=San Francisco/O=Splunk/CN=SplunkCommonCA/emailAddress=support@splunk.com
notBefore=Apr 6 15:43:00 2017 GMT
notAfter=Apr 5 15:43:00 2020 GMT
new file
ls -ltr
-rw------- 1 2747 Apr 6 10:43 server.pem
-rw------- 1 17 Apr 6 10:43 ca.srl
verify
for i in *.pem; do echo $i && openssl x509 -in $i -text |grep -A 2 Validity; done
server.pem
Validity
Not Before: Apr 6 15:43:00 2017 GMT
Not After : Apr 5 15:43:00 2020 GMT
restart, issue fixed
... View more