elastic / makelogs

109 stars 44 forks source link

Bypassing PFX certificate loading #58

Open rafaelvzago opened 1 year ago

rafaelvzago commented 1 year ago

What does this PR do?

This PR aims to fix the PFX error that occurs when running the makelogs application. It does so by implementing a javascript instruction ssl:{ rejectUnauthorized: false, pfx: [] } that bypasses the error and allows the application to run smoothly.

Why is this change necessary?

Currently, when running the makelogs application, some users are facing a PFX error that prevents them from using the application as intended. This change addresses this issue by bypassing the error, and making the application accessible to all users.

How has this change been tested?

This change has been tested by running the makelogs application with the new instruction in place and confirming that the PFX error is no longer present. Additionally, the application was tested to ensure that it runs smoothly and no other issues have been encountered.

What are the relevant issue numbers?

This PR is related to issue #53

Screenshots (if appropriate)

N/A

Notes for reviewers

Please review the code changes and ensure that they are implemented correctly and do not cause any other issues. Additionally, please test the application with the new instruction in place to ensure that the PFX error is successfully bypassed.

Types of changes

Checklist

Please let me know if you have any questions or concerns.

Ref: https://www.gooksu.com/2022/01/generate-test-data-using-elastics-makelogs/

Signed-off-by: Rafael Zago rafaelvzago@gmail.com

cla-checker-service[bot] commented 1 year ago

❌ Author of the following commits did not sign a Contributor Agreement: 4f1d4818ec7ecacdad6867d15d6307ac33861b70

Please, read and sign the above mentioned agreement if you want to contribute to this project