All Apps and Add-ons

How to configure app for ssl connection between Mint SDK and HEC?

chulhyuncho
Engager

Now, I set up Splunk Mint. I want to collect App log by http event collector(HEC).
I have to use TLS1.2 between mobile app and HEC.
So, I already config as follows;
- On setting of HTTP Event Collector : checked "Enable SSL"

In Android Studio, I write a code
- Mint.initAndStartSessionHEC(this.getApplication(), "https://xxx.xx.xx.xxx:8088/services/collector/mint", "my_token");

And then, when I run this code in Android Studio.
This error is occurred.
"Transmitting Exception unexpected end of stream on Connection{xxx.xx.xx.xxx:8088, proxy=DIRECT@ hostAddress=xxx.xx.xx.xxx cipherSuite=none protocol=http/1.1} (recycle count=0)"

I think I have to write more code or set up configuration in App Source for TLS connection.

Plz, let me know what I have to do.
Thank so much.

0 Karma
1 Solution

chulhyuncho
Engager

I resolved this issue.
Actually, this issue is not relative with Mint SDK.
On HEC have to has SSL Certificates.
Splunk give us a self-signed certificate, but the security policy is not allow self-signed certificates.
So if you want to collect app log by https protocol through HEC, you have to set up certificates on HEC server.

Hava a good day!!!

View solution in original post

chulhyuncho
Engager

I resolved this issue.
Actually, this issue is not relative with Mint SDK.
On HEC have to has SSL Certificates.
Splunk give us a self-signed certificate, but the security policy is not allow self-signed certificates.
So if you want to collect app log by https protocol through HEC, you have to set up certificates on HEC server.

Hava a good day!!!

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 ...