All Apps and Add-ons

Splunk Add-on for Okta: Why does Splunk not accept SSL certificate?

bob_blood
Engager

Splunk Add-on for Okta API fails from SSL error. Probably due to a proxy changing the certs on the way back in. Splunk does not trust this different cert. I've seen similar problems floating around the web regarding proxies and certs with Splunk. Does anyone have a solution for this?

from internal logs: SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

Adding API target IP to the proxy bypass works but I'm trying to figure out a more robust solution.

PickleRick
SplunkTrust
SplunkTrust

If you're using a proxy solution which replaces the certificate on the connection (I assume your proxy does some content inspection), you need to add the cert of the CA the proxy uses to generate the certs on the fly to the trusted cert store. That's how TLS works.

0 Karma

MostafaKhalil
New Member

Hi @krishnacasso@bob_blood   and @ehaddad_splunk  . Were you guys able to fix this issue? I'm having the same failure in establishing the SSL handshake. I was hoping you can guide me with what you did to fix the issue on your ends.

 

Thank you,

0 Karma

krishnacasso
Path Finder

Hi Bob,
Is this issue resolved. We are getting same SSL handshake error. How did you by pass it with proxy, We are trying with below proxy settings. Do we need to give IP in proxy_url place.

[okta_proxy]
proxy_enabled = 1
proxy_type =
proxy_rdns = 1
proxy_url =
proxy_port =
proxy_username =
proxy_password =

0 Karma

ehaddad_splunk
Splunk Employee
Splunk Employee

what kind of SSL authentication your proxy requires? I think the problem is due to the fact the the proxy certificate are not trusted on the HWF machine where the add-on runs. I would start by adding the CA root to the trusted store on that machine.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...