Hi,
I am trying to use a PAC file to redirect http / https requests.
The following function works for a http request but it throws an
NS_ERROR_UNKNOWN_PROXY_HOST error for* https* requests.
function FindProxyForURL(url, host) {
return "PROXY x.x.x.x;"
}
And if i change the function to :
function FindProxyForURL(url, host) {
return "PROXY x.x.x.x:443;"
}
it throws NS_ERROR_NET_RESET error.
Is it possible to redirect https requests through a PAC file? Or is there
any other way to achieve this?
---------- Forwarded message ----------
From: Patrick McManus <[email protected]>
Date: 2 July 2014 20:15
Subject: Re: Using a Pac File to redirect https requests.
To: Sindhu <[email protected]>
Cc: [email protected]
you can use a PAC file to route all http and https generated by gecko.
https will of course be tunneled through the proxy using CONNECT because it
needs to be end to end for appropriate security.
e.g.
function FindProxyForURL(url, host) {
return "PROXY localhost:2443;"
}
dev-tech-network is probably the right place to followup to get the right
visibility - you should supply the pac file there.
On Wed, Jul 2, 2014 at 1:12 AM, Sindhu <[email protected]> wrote:
> Hi,
>
> I have an extension which uses a PAC file to redirect particular requests
> to a proxy server. But this doesn't working for any *https *request.
> Firefox always uses a DIRECT connection for https requests. Is there any
> way to redirect https requests using a PAC file? Or is there any other way
> to achieve this?
>
> Sindhu Simhadri
>
> _______________________________________________
> firefox-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/firefox-dev
>
>
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network