Reverse proxy SSL problems
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I'm running Ubuntu 18.04 although couldn't I get it to work with Ubuntu 16.04 either. I'm running apache 2.4.29 and openssl 1.1.0g.
I'm trying to setup a reverse proxy that worked with Ubuntu 14, and getting these errors:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /testserver.
Reason: Error reading from remote server
Apache/2.4.29 (Ubuntu) Server at 172.16.0.140 Port 443
From the log
[Tue May 29 09:14:36.494710 2018] [ssl:info] [pid 23700:tid 139947205977856] SSL Library Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
when trying to connect via a browser
also getting these errors from the command line on the backend
openssl s_client -connect 1804-testserver.local:443
CONNECTED(00000003)139763485823424:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:252:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 176 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1527795715
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
apache2 18.04 proxy ssl
add a comment |Â
up vote
0
down vote
favorite
I'm running Ubuntu 18.04 although couldn't I get it to work with Ubuntu 16.04 either. I'm running apache 2.4.29 and openssl 1.1.0g.
I'm trying to setup a reverse proxy that worked with Ubuntu 14, and getting these errors:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /testserver.
Reason: Error reading from remote server
Apache/2.4.29 (Ubuntu) Server at 172.16.0.140 Port 443
From the log
[Tue May 29 09:14:36.494710 2018] [ssl:info] [pid 23700:tid 139947205977856] SSL Library Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
when trying to connect via a browser
also getting these errors from the command line on the backend
openssl s_client -connect 1804-testserver.local:443
CONNECTED(00000003)139763485823424:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:252:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 176 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1527795715
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
apache2 18.04 proxy ssl
Welcome to Ask Ubuntu! Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
â David Foerster
Jun 5 at 11:46
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm running Ubuntu 18.04 although couldn't I get it to work with Ubuntu 16.04 either. I'm running apache 2.4.29 and openssl 1.1.0g.
I'm trying to setup a reverse proxy that worked with Ubuntu 14, and getting these errors:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /testserver.
Reason: Error reading from remote server
Apache/2.4.29 (Ubuntu) Server at 172.16.0.140 Port 443
From the log
[Tue May 29 09:14:36.494710 2018] [ssl:info] [pid 23700:tid 139947205977856] SSL Library Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
when trying to connect via a browser
also getting these errors from the command line on the backend
openssl s_client -connect 1804-testserver.local:443
CONNECTED(00000003)139763485823424:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:252:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 176 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1527795715
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
apache2 18.04 proxy ssl
I'm running Ubuntu 18.04 although couldn't I get it to work with Ubuntu 16.04 either. I'm running apache 2.4.29 and openssl 1.1.0g.
I'm trying to setup a reverse proxy that worked with Ubuntu 14, and getting these errors:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /testserver.
Reason: Error reading from remote server
Apache/2.4.29 (Ubuntu) Server at 172.16.0.140 Port 443
From the log
[Tue May 29 09:14:36.494710 2018] [ssl:info] [pid 23700:tid 139947205977856] SSL Library Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
when trying to connect via a browser
also getting these errors from the command line on the backend
openssl s_client -connect 1804-testserver.local:443
CONNECTED(00000003)139763485823424:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:252:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 176 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1527795715
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
apache2 18.04 proxy ssl
edited Jun 5 at 0:50
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
49.5k11105126
49.5k11105126
asked Jun 4 at 20:03
wazzu62
1
1
Welcome to Ask Ubuntu! Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
â David Foerster
Jun 5 at 11:46
add a comment |Â
Welcome to Ask Ubuntu! Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
â David Foerster
Jun 5 at 11:46
Welcome to Ask Ubuntu! Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
â David Foerster
Jun 5 at 11:46
Welcome to Ask Ubuntu! Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
â David Foerster
Jun 5 at 11:46
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043607%2freverse-proxy-ssl-problems%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Welcome to Ask Ubuntu! Could you please add a little more detail? What exactly did you do, what did you expect to happen and what happened instead? Did you encounter any warning or error messages? Please reproduce them in their entirety in your question. You can select, copy and paste terminal content and most dialogue messages in Ubuntu. Please edit your post to add information instead of posting a comment. (see How do I ask a good question?)
â David Foerster
Jun 5 at 11:46