Security

How to specify http proxy username:password?

sylkesoong
New Member

I am trying to allow the splunk server on my laptop to access splunk.com and splunkbase.com. My laptop is behind a corp firewall, which requires me to supply username/password, to access the public network.

The error message from the splunk server is
Splunk server is unable to connect to splunkbase.splunk.com. Check internet connection for Splunk Light server, and try again.

In Splunk/etc/splunk-launch.conf, I tried

HTTP_PROXY=myname:mypassword@myhost.myco.us:8080

And tried

HTTP_PROXY=myname:mypassword@http://myhost.myco.us:8080

with no success.

BTW, the notification below says
You don't have enough karma points to post links; if you post any link they won't be shown to other users.

I did post a couple pseudo-links. I hope you can see my question.

Tags (3)
0 Karma

sjaworski
Communicator

My suggestion would be to enter HTTPS_PROXY = myhost.myco.us:8080 in splunk-launch.conf. Do not use a username and password. Reach out to the administrator's of your proxy server and ask if they can white-list the IP address of your Splunk server making the request. A good proxy should be able to allow only access to specific domains and/or URLS for a specific source IP address (your Splunk server), since you will be bypassing the proxy's authentication module. Open a ticket with Splunk to verify if they do or do not support authenticated proxies. Maybe a feature request is required.

0 Karma

sylkesoong
New Member

I think my question should be flagged as a duplicate of
https://answers.splunk.com/answers/88380/407-proxy-authentication-required-how-to-have-splunk-authen... .

Which was asked 3 years ago, and which has yet to get an answer.

0 Karma

jplumsdaine22
Influencer

We can see your question but its not very clear. What configuration file are you talking about? What are you trying to achieve?

0 Karma

sylkesoong
New Member

I have updated the question with more information.

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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...