Certificate error while installing app via API from Gitlab?


Hi all,

I'm trying to install(tar.gz file) an app available on GitLab. I am using 'apps/local' endpoint to install it.



curl -k -u user:pass -X POST https://localhost:8089/services/apps/local -d path= -d update=1



But it gives an error like below.



splunklib.binding.HTTPError: HTTP 500 Internal Server Error -- Unexpected error downloading update: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed - please check the output of the `openssl verify` command for the certificates involved; note that if certificate verification is enabled (requireClientCert or sslVerifyServerCert set to "true"), the CA certificate and the server certificate should not have the same Common Name.



Does anyone have an idea how can i solve it? Btw, i do not want to disable ssl-tls verification if possible.

Labels (2)
Tags (4)
0 Karma
Get Updates on the Splunk Community!

Don't wait! Accept the Mission Possible: Splunk Adoption Challenge Now and Win ...

Attention everyone! We have exciting news to share! We are recruiting new members for the Mission Possible: ...

Unify Your SecOps with Splunk Mission Control

In today’s post, I'm excited to share some recent Splunk Mission Control innovations. With Splunk Mission ...

Data Preparation Made Easy: SPL2 for Edge Processor

By now, you may have heard the exciting news that Edge Processor, the easy-to-use Splunk data preparation tool ...