-
Notifications
You must be signed in to change notification settings - Fork 67
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
Need to be able to skip SSL Verification #114
Comments
@mr-tomr At the moment there is no code that supports self-signed certificates (i.e. don't verify certificates of SSL) Can you provide a patch to support it? |
fixed in latest release: https://github.com/OWASP/OFFAT/releases |
Hello @dmdhrumilmistry @nrathaus Still have the problem in with skipping SSL verification with self-signed certificates. Tested on OFFAT v0.19.1, the output is the same as @mr-tomr mentioned Is it possible to skip SSL verification at all? |
Please provide the cmdline you used |
Thanks for fast response! Used this cmd:
|
I found the bug, it is related to two things (see PR) if you want to see what |
@nrathaus thanks! Do I understand correctly that there will be no SSL validation by default (in the next OFFAT release)? |
I'll release the latest version right away |
Yes! If you need to enforce SSL then you can use |
@dmdhrumilmistry @nrathaus tested on new version, got next output:
What could be the problem? |
The problem is client side certificate as the error states As this seems to be a commercial version - I think it's appropriate that you either provide a patch or sponsor the work of the author of this tool |
Thanks, @nrathaus. @sev-hack contributions are accepted for the project in any possible way. It turned out that Patch: #129 |
Sev hack issue is related to OFFAT support client side certificate |
This has been patched, you can use the latest version |
Hi there @dmdhrumilmistry @nrathaus ! Thank you again for fast fix, now it works as expected. |
Option -s , enables SSL verification and is on by default.
Testing within environments where there are self signed certs, is causing the tool to fail.
Debian (Kali) Certificate for this server is in ca-certificates folder and added. Error message is as follows, server name changed, etc.
[16:49:44] INFO Checking whether host example.com:443 is available tester_utils.py:41
ERROR Unable to connect to host example.com:443 due to error: SSLCertVerificationError(1, tester_utils.py:49
'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate
chain (_ssl.c:1006)')
ERROR Stopping tests due to unavailibility of host: example.com:443
Also, it appears your error message has the incorrect spelling of unavailability. :)
The text was updated successfully, but these errors were encountered: