Git Product home page Git Product logo

Comments (7)

Rory-Bray avatar Rory-Bray commented on August 12, 2024 1

have you tried setting the REQUESTS_CA_BUNDLE environment variable and pointing it to a .pem file that contains your root CA cert?

from api-samples.

davidgpayne avatar davidgpayne commented on August 12, 2024

You can provide the path to a .pem certificate file when configuring the API samples. Have you tried this?

from api-samples.

keerthu3196 avatar keerthu3196 commented on August 12, 2024

@Rory-Bray How to set the environment variable?

from api-samples.

keerthu3196 avatar keerthu3196 commented on August 12, 2024

@davidgpayne Yeah! while configuring I gave the path to the certificate but it failed

from api-samples.

 avatar commented on August 12, 2024

I exported the certificate using openssl and saved the content into a file.
I specified the path and filename in the config.ini file but still it is prompting "Certificate verification failed"

from api-samples.

sftranna avatar sftranna commented on August 12, 2024

hi there,
I am working on an app.
I have tried to call an Api but this never authenticate the credentials provided in the code rather at console this asks for credentials like "what is the ip of qradar console required to make this Api call" and username password and stored these in a flat file at C:......\administrator.qradar_appfw.auth

Here is the code for calling an api
Username='ABC'
Pwd='cuz'
Ip='xxx.xxx.xxx.xxx'
userpass=username + ':' + pwd
Encodecred= b"Basic "+base64.b64encode(userpass.encode('ascii'))
headers = {'SEC': 'ABSBDHDJDJDJJDJDJDJ'}
headers = {'Authorization': Encodecred}
xurl = 'https://'+Ip+'api/endpoint'
reaponse=qpylib.Rest('GET', xurl, headers = headers)

Plz guide me about the problem so that I can verify credentials through code password or SEC but not from .qradar_appfw.auth.
Thanks in advance

PS- plz don't point any formatting errors as typed every bit here on mobile (didn't copy paste)

from api-samples.

msislam100 avatar msislam100 commented on August 12, 2024

how to solve the issue,
WhatsApp Image 2023-01-25 at 17 37 20

from api-samples.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.