Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

183
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda