Security

Configuring splunk Mobile Access Server -- How to configure a password for own certificate?

Tarek1977
Path Finder

Hello all,

I've configured the splunk mobile access server and put our own .pem files (password secured) into the SSL directory, as described in the documentation. If I want to start the server I get following error message:

Error: error:0906A068:PEM routines:PEM_do_header:bad password read

at Error (native)
at Object.createSecureContext (_tls_common.js:67:17)

at new Server (https.js:36:14)

at Object.exports.createServer (https.js:56:10)

at Object.checkServer [as check] (/usr/mcf/mserver/server/lib/util/port_checker.js:4:52)

at Object.<anonymous> (/usr/mcf/mserver/server/splunkm.js:41:21)

at Module._compile (module.js:449:26)

at Object.Module._extensions..js (module.js:467:10)

Is there an option to provide the password in the config_local.json? Here's the entry from the config_local.json:

...

"ssl": {

"cert": "/usr/mcf/mserver/server/config/ssl/xxx.net-key-cert.pem",

"key": "/usr/mcf/mserver/server/config/ssl/xxx.net-key.pem"

...

I've tried the option: "password": "xxx" , but it did not work. I didn't find any documentation for manually configuring this file. Thanks for your help!

0 Karma
1 Solution

sni_splunk
Splunk Employee
Splunk Employee

Unfortunately, this option (passphrase for the private key) is not exposed via configuration, so it is not configurable yet.

I logged an enhancement request (MOBILE-991) for this and will post the update here once it gets fixed in our next release. Thanks.

View solution in original post

0 Karma

sni_splunk
Splunk Employee
Splunk Employee

Unfortunately, this option (passphrase for the private key) is not exposed via configuration, so it is not configurable yet.

I logged an enhancement request (MOBILE-991) for this and will post the update here once it gets fixed in our next release. Thanks.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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