All Apps and Add-ons

Unable to generate encryped password

appleman
Contributor

Hello,

When I tried to generate an encrypted password for IMAP App, an error ocured, and I still can't get the password.
Does anybody know what this error means?

Thank you.


IMAP App用の暗号化されたパスワードを作成しようとした際に、下記のようなエラーが発生し、作成できませんでした。
これを回避するためにはどうしたらよいでしょうか。


Enter it one more time to make sure you typed it in correctly:Can't open file /etc/auth/splunk.secret
Error getting password
140420298954568:error:02001002:system library:fopen:No such file or directory:bss_file.c:126:fopen('/etc/auth/splunk.secret','r')
140420298954568:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:129:

Copy the big ugly string on the line above and paste it into
imap.ini as the value for xpassword.
You can test that it works by running ./imaplaunch.sh

0 Karma
1 Solution

appleman
Contributor

I figured it out by myself.
I could generate it after I ran "python bin/getimap.py --debug".
However, IMAP App doesn't index on splunk, I don't know why.

Thank you very much.

View solution in original post

0 Karma

pbalsley
Path Finder

I also found that you need to insert the SPLUNK_HOME ENV variable.

Run: source $SPLUNK_HOME/bin/setSplunkEnv

Then try to generate the password.

appleman
Contributor

I figured it out by myself.
I could generate it after I ran "python bin/getimap.py --debug".
However, IMAP App doesn't index on splunk, I don't know why.

Thank you very much.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...