Skip to content
New issue

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

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

Already on GitHub? # to your account

How to use HTTPS? #73

Open
henning410 opened this issue Jun 11, 2024 · 1 comment
Open

How to use HTTPS? #73

henning410 opened this issue Jun 11, 2024 · 1 comment

Comments

@henning410
Copy link

As you mentioned here, HTTPS is supported.
I cannot find any info about how actually I can do this.
I tried it with the following command:

docker run --network host -it --volume /home/user/Desktop/KissPeter-APIFuzzer/results:/results/ kisspeter/apifuzzer --src_url https://172.19.0.1:3000/api-json --url https://172.19.0.1:3000 --test_report /results/junit.xml --report /results/report/

I get the error:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:992)

Without HTTPS, the APIFuzzer works.

@KissPeter
Copy link
Owner

Hi,

APIFuzzer indeed capable to test https endpoints. In your case the issue is with the invalid certificate. Either disable SSL cert at the application under test or the project is open to contribution. It seems like a simple extension based on
https://stackoverflow.com/a/13072667
here:
https://github.com/KissPeter/APIFuzzer/blob/master/apifuzzer/fuzzer_target/fuzz_request_sender.py#L127

Thanks

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

No branches or pull requests

2 participants