Security

Splunk SSL certificate decryption error

Haleb
Path Finder

Hello there!
After following this docs https://docs.splunk.com/Documentation/Splunk/9.2.1/Security/Howtoself-signcertificateshttps://docs.splunk.com/Documentation/Splunk/9.2.1/Security/HowtoprepareyoursignedcertificatesforSpl...https://docs.splunk.com/Documentation/Splunk/9.2.1/Security/SecureSplunkWebusingasignedcertificate for SSL certificate installation I receive an error message when I tried to restart Splunk:
Cannot decrypt private key in "/opt/splunk/etc/auth/mycerts/myServerPrivateKey.key" without a password

web.conf
[settings]
enableSplunkWebSSL = true
privKeyPath = /opt/splunk/etc/auth/mycerts/myServerPrivateKey.key
serverCert = /opt/splunk/etc/auth/mycerts/splunkCert.pem

Any solutions for this issue will be appreciated!

Labels (2)
0 Karma
1 Solution

deepakc
Builder

Sounds like when when you generated the key for your Splunk web server (privKeyPath = /opt/splunk/etc/auth/mycerts/myServerPrivateKey.key) you set the password/passphrase)


So now you need to use this in the web.conf (Password that protects the private key specified by 'privKeyPath'.)

sslPassword = (your privKeyPath Key password/passphrase)

Set your Password with the above settings, under [settings] and restart - see if that works. 

View solution in original post

Haleb
Path Finder

It works, thanks!

0 Karma

deepakc
Builder

Sounds like when when you generated the key for your Splunk web server (privKeyPath = /opt/splunk/etc/auth/mycerts/myServerPrivateKey.key) you set the password/passphrase)


So now you need to use this in the web.conf (Password that protects the private key specified by 'privKeyPath'.)

sslPassword = (your privKeyPath Key password/passphrase)

Set your Password with the above settings, under [settings] and restart - see if that works. 

Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...