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
Get Updates on the Splunk Community!

Devesh Logendran, Splunk, and the Singapore Cyber Conquest

At this year’s Splunk University, I had the privilege of chatting with Devesh Logendran, one of the winners in ...

There's No Place Like Chrome and the Splunk Platform

WATCH NOW!Malware. Risky Extensions. Data Exfiltration. End-users are increasingly reliant on browsers to ...

Customer Experience | Join the Customer Advisory Board!

Are you ready to take your Splunk journey to the next level? 🚀 We invite you to join our elite squad ...