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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...