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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...