Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Is it possible to redirect https request to http endpoint?

I need to test an application. It is a microservice which uses other APIs. To test it in isolation I want to use mock servers. The problem is that I can't configure the application under test to send requests to http mock server. It sends request using https protocol and port 443 only.However, there is no https-app running on that port. But it is possible to specify a proxy server. I tried to configure apache to run as an https proxy server. This server uses a self-signed certificate for localhost domain. But redirection does not works for https requests. However, http requests get redirected succesfully if I run proxy server in http mode. Here is the configiration for the proxy server:

<VirtualHost localhost:8098>
        ProxyRequests Off
        SSLEngine On

        ProxyPass        / http://localhost:3001
        ProxyPassReverse / http://localhost:3001

        SSLCertificateFile localhost.crt
        SSLCertificateKeyFile localhost.key
</VirtualHost>```
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!