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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...