Need a Freelancer to Redirect Script's HTTPS POST Request to Localhost (Without Modifying the Script)

Job ID: 39062129

Budget: €8 – €30 EUR

I need a freelancer to help redirect an HTTPS POST request made by a script that is developed in Python/Go (I'm not sure which, as it is encoded). I cannot modify the script directly, but I need to ensure that the request, which is originally sent to the application's domain server, is redirected to my local machine (localhost) or a similar environment.

I have already developed a Flask application that simulates the target server and generated a self-signed certificate. However, when the script makes the request, I receive the following error:

"Post https://xxxx.com/api tls: failed to verify certificate: x509: certify authority."

The system where the application runs is macOS, and I have administrator access. I need a solution to bypass or resolve this certificate verification issue while keeping the script unmodified.

Looking for an experienced developer who can provide a workaround or an alternative method to achieve this.
Related categories: JavaScript Python Linux Software Architecture UNIX