Visit Our UNIX and Linux User Community

Operating Systems Linux Red Hat Proxy tunneling failed: ForbiddenUnable to establish SSL connection. Post 302997021 by charli1 on Friday 5th of May 2017 01:48:06 PM
Old 05-05-2017
Proxy tunneling failed: ForbiddenUnable to establish SSL connection.

Tryied both ways


wget --no-check-certificate
--2017-05-05 17:29:02--
Connecting to myproxy:8080... connected.
Proxy tunneling failed: ForbiddenUnable to establish SSL connection.

curl: (56) Received HTTP code 403 from proxy after CONNECT

My Exports are the following,
export http_proxy=http://myproxy:8080/
export https_proxy=https://myproxy:443/
export https_proxy=http://myproxy:8080/

All the sites that have the ports 80, 8080 and 443 are working just fine,
and also doing the test directly on myproxy the uper tests work just fine,

[root@myproxy ~]# curl --insecure
          TcpNoDelayEnabledSizePrefixDisabled	CacheSize
                                                         ProviderName  ActiveMQStackTraceEnabledPlatformDetails	RJVM: 1.8.0_121, 25.121-b13, Oracle Corporation, OS: Linux, 4.4.0-47-generic, amd64
                                                                                                                                                                                                                                   MaxFrameSize???????MaxInactivityDurationu0 MaxInactivityDurationInitalDelay'ProviderVersion	5.14.3

and also the

[root@myproxy ~]# wget --no-check-certificate
--2017-05-05 19:40:07--
Resolving (
Connecting to (||:61617... connected.
WARNING: cannot verify's certificate, issued by ‘/C=IT/ST=Location/L=Location/O=MySite/OU=Technology/CN=My Name':
  Self-signed certificate encountered.
    WARNING: certificate common name ‘My Name' doesn't match requested host name ‘'.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: ‘index.html.2'

    [ <=>                                                                                                                                                                                            ] 397         --.-K/s   in 0s      

2017-05-05 19:40:07 (70.2 MB/s) - ‘index.html.2' saved [397]

Do you see if i'm doing something wrong?
GNU Wget 1.14 built on linux-gnu.

curl 7.29.0
(x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.15.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

NAME="Red Hat Enterprise Linux Server"
VERSION="7.1 (Maipo)"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.1 (Maipo)"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"

Could you guys have a look?
Thank in advanced for any sugestions.
Test Your Knowledge in Computers #589
Difficulty: Medium
A binary search algorithm requires that the array being searched is sorted in descending order.
True or False?

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tunneling commands and file transfers through established ssh connection

Hi - I frequently run commands, and transfer files to/from a host that uses SecurID ssh authentication. It is a real pain to have to enter the authentication information every time I want to interact with this host. I am wondering if there is a way to establish a one-time ssh connection to this... (2 Replies)
Discussion started by: cpp6f
2 Replies

2. Shell Programming and Scripting

Establish ODBC connection from Linux

Hi All, I want to establish a ODBC connection to a database from linux and query the tables of a database. Please let me know how I can achieve this. Thanks and Regards Nagaraja Akkivalli. (0 Replies)
Discussion started by: Nagaraja Akkiva
0 Replies

3. Programming

Failed SSL Connection Attempt

The below error message I started seeing using Ubuntu 14.04 and was wondering if the forum has seen it because I cant seem much on the net for this: perl -e 'use IO::Socket::SSL qw(debug3);IO::Socket::SSL->new(PeerAddr=>"",PeerPort=> 443,Proto=>"TCP") or die $!' DEBUG:... (1 Reply)
Discussion started by: metallica1973
1 Replies

4. Red Hat

Connection establish two server

How do make connection between two linux server.Such as SSH,rsync,ftp (3 Replies)
Discussion started by: Mani T
3 Replies

5. BSD

Can't establish outbound ssh connection on an OpenBSD system

I am getting the below error when I try to make outbound ssh from an OpenBSD system. I can't ssh to any host except the localhost. I can ping the hosts which I can't ssh, though.~ uname -rs OpenBSD 6.1 ~ ssh -V OpenSSH_7.5, LibreSSL 2.5.2 ~ ssh hostname ssh: connect to host hostname... (11 Replies)
Discussion started by: milhan
11 Replies

6. AIX

Unable to establish connection over TLS 1.2 on AIX 7.1/7.2

Hello Team, I would need your help to enable communication over TLS1.2 on AIX 7.1 or 7.2 with IBM JDK 1.8 latest update. By default, the request is trying to establish a connection over TLSv1 even though TLS 1.2 is explicitly enabled on server as well as on Java 8. The openssl command throws... (4 Replies)
Discussion started by: Naina2019
4 Replies

7. Proxy Server

Httpd proxy on AIX: failed to connect SSL

Hi, I am trying to migrate a quite old proxy server with Apache httpd, running on AIX The scenario is that my server accepts connections on http and proxies them to an SSL backend. This is done in a ProxyPass statement, as follows: ProxyPass /myservice/my-ws... (1 Reply)
Discussion started by: trifo75
1 Replies

Featured Tech Videos

All times are GMT -4. The time now is 11:08 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy