ngx_http_proxy_connect_module icon indicating copy to clipboard operation
ngx_http_proxy_connect_module copied to clipboard

No support Self-signed certificate

Open 631068264 opened this issue 3 years ago • 1 comments

0. Before Your ASK

  1. Try to find an answer by reading a FAQ.

Ⅰ. Issue Description

I config a forward proxy to connect a self-signed certificate url use

curl -k xxx:8080 https://xxxx

Ⅱ. Describe what happened

Get 503 response

Ⅲ. Describe what you expected to happen

Get the same result as

curl -k https://xxxx

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

  1. If applicable, add nginx debug log.

Ⅵ. Environment:

  1. Tengine/Nginx/OpenResty version (use sbin/nginx -v):
  2. Which patch do you use?

631068264 avatar Dec 09 '21 12:12 631068264

use curl -x option for HTTPS tunnel. The request of your curl is handled by original nginx module(HTTPS module), not by this module(proxy_connect module).

chobits avatar Jan 28 '22 04:01 chobits