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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...