My Oracle Support Banner

Wget through HTTPS Proxy Fails with "Proxy tunneling failed: ForbiddenUnable to establish SSL connection." (Doc ID 2379465.1)

Last updated on MAY 21, 2020

Applies to:

Linux OS - Version Oracle Linux 6.6 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


On Oracle Linux server, wget via https proxy fails,  but wget via http proxy on same proxy server works.

For example:

# wget -d -e https_proxy=your-proxy.server https://<https-server-ip>/data
Setting https_proxy (httpsproxy) to  your-proxy.server
DEBUG output created by Wget 1.12 on linux-gnu.

-- xxx --  https://<https-server-ip>/data
Resolving your-proxy.server... x.x.x.x
Caching your-proxy.server => x.x.x.x
Connecting to your-proxy.server|x.x.x.x|:80... connected.
Created socket 3.
Releasing 0x0000000000795cd0 (new refcount 1).

---request begin---
CONNECT y.y.y.y:443 HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)

---request end---
proxy responded with: [HTTP/1.0 403 Forbidden
Date: xxx
Connection: close
Via: 1.1 localhost.localdomain
Content-Length: 366

Proxy tunneling failed: ForbiddenUnable to establish SSL connection.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.