Comments (7)
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.
You can provide the path to a .pem certificate file when configuring the API samples. Have you tried this?
from api-samples.
@Rory-Bray How to set the environment variable?
from api-samples.
@davidgpayne Yeah! while configuring I gave the path to the certificate but it failed
from api-samples.
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.
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.
from api-samples.
Related Issues (17)
- Add Sample for updating an asset HOT 5
- Wroking version confirmation HOT 1
- Accessing QRadar HOT 1
- Can I have a simplest Api usage example
- Field requirements in Show offenses api
- Using "Contains" for a list with no key/value pairs HOT 4
- Script for integrating threat intelligence platform
- Please, provide API Guidelines for QRadar 7.3.2
- Tags please! HOT 2
- Please provide `/config/event_sources/log_source_management/log_sources` examples HOT 1
- doesn't prompt to enter configs in first time
- WARNING: The version of the endpoint is deprecated
- Not following PEP8 for Python Code HOT 2
- 414 Request-URI Too Large
- Sample for /ariel/searches filter HOT 5
- Update Asset Operating System HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-samples.