Using a Pac File to redirect https requests.

Patrick McManus pmcmanus at
Wed Jul 2 14:55:03 UTC 2014

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.


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 <sindhu.s.reddy at> 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
> firefox-dev at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the firefox-dev mailing list