Certainly! There are a few stages involved in regenerating SSL certificates for your Windows Splunk instance. Here's a step-by-step guide:
1. Generate a New SSL Certificate
- Open a command prompt that has administrator access - Go to the directory of the Splunk bin. It's usually found under C:\Program Files\Splunk\bin. - To create a fresh SSL certificate, utilize the Splunk command-line utility
Run the following command
Splunk createssl server-cert -d <your_domain_name>
2. Configure Splunk to Use the New Certificate
- Go to the directory where Splunk configuration is located. Usually, it can be found at C:\Program Files\Splunk\etc\system\local - Open web.conf in a text editor - To point to the newly generated SSL certificate and private key, update the privKeyPath and serverCert settings
[settings] enableSplunkWebSSL = true privKeyPath = C:\Program Files\Splunk\etc\auth\server.pem serverCert = C:\Program Files\Splunk\etc\auth\server.pem
3. Restart Splunk
- With administrator rights, open a command prompt - Go to the Splunk bin directory - Use the following command to restart Splunk
Splunk restart
4. Test the New SSL Configuration
- Open a web browser and use HTTPS to access the Splunk web interface - A green padlock icon signifying a secure connection ought should be visible. To verify that it is the new certificate with a valid expiration date, click on it to examine the certificate details
You should be able to use these procedures to for your Windows Splunk instance and make sure that it is connecting securely with the new certificates.
... View more