Skip to content

Remove warnings when TLS verificaition is turned off when using a token / no CA file #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

jpts
Copy link
Contributor

@jpts jpts commented May 20, 2020

This just moves the urllib3 warning suppression line to be enable automatically, when token auth is used. Should fix #5 . Tested with/without CA when using token. Have encountered no issues during my own testing.

@g3rzi
Copy link
Collaborator

g3rzi commented May 21, 2020

Thanks :)
I will check it first

@g3rzi
Copy link
Collaborator

g3rzi commented May 23, 2020

I tested your changes but when I run the following:

root@ubuntu:~/kubi/KubiScan# python3 KubiScan.py -ho 192.160.0.3:8443 -t token -rs

I am still getting the following errors in the beginning:

/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)

How did you run it? Did you use docker or directly with python like I did?

@g3rzi
Copy link
Collaborator

g3rzi commented Jun 18, 2020

?

@g3rzi g3rzi merged commit f9871cc into cyberark:master Aug 25, 2022
@g3rzi
Copy link
Collaborator

g3rzi commented Aug 25, 2022

We tested it on a new machine, it works fine. Thanks.

@jpts
Copy link
Contributor Author

jpts commented Aug 25, 2022

awesome, glad you got it working 🎉

@jpts jpts deleted the tls-warning-fix branch August 25, 2022 11:18
@g3rzi
Copy link
Collaborator

g3rzi commented Aug 25, 2022

Thank you for the contribution, and sorry it took time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Insecured option
2 participants