Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: cannot proxy pass port 443, but I can proxypass port 80 |
|
Author |
|
odror
Joined: 17 May 2015 Posts: 2 Location: Los Angeles
|
Posted: Sun 17 May '15 8:51 Post subject: cannot proxy pass port 443, but I can proxypass port 80 |
|
|
OS: Ubuntu 15.04
I have web server running in a lxc guest and a web server in the host, which is the gateway to the WAN.
I have ssl setup correctly in both.
I can go to the guest from the host using https and I can access the host from the WAN with https.
I have the following in conf-enabled (in the host):
Code: | <VirtualHost *:80 >
<Proxy *>
Order deny,allow
Allow from all
Require all granted
</Proxy>
ProxyPass /guestweb http:guest/guestweb
ProxyPassReverse /guest http://guest/guestweb
ErrorDocument 503 "The guest server is currently offline."
</VirtualHost>
<VirtualHost *:443 >
<Proxy *>
Order deny,allow
Allow from all
Require all granted
</Proxy>
ProxyPass /guestweb http://guest/guestweb
ProxyPassReverse /guestweb http://guest/guestweb
ErrorDocument 503 "The guest server is currently offline."
</VirtualHost> |
When I go to (using chrome) Quote: | https://host/guestweb | from anywhere
I get the following error:
Quote: | SSL connection error
ERR_SSL_PROTOCOL_ERROR
Hide details
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. |
I do not get this error when I go to any of these web pages from the host
In other words for a reason unknown to me I am not able to ProxyPass port 443, but I can proxypass port 80 and I can go though port 443 directly.
Any help will be appreciated
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 19 May '15 17:50 Post subject: |
|
|
Your vhost on 443 needs certificates to run proper.
At least
Code: |
SSLCertificateFile conf/serverone.crt
SSLCertificateKeyFile conf/serverone.key |
|
|
Back to top |
|
odror
Joined: 17 May 2015 Posts: 2 Location: Los Angeles
|
Posted: Tue 19 May '15 17:54 Post subject: |
|
|
Thanks
That was the issue. |
|
Back to top |
|
|
|
|
|
|