Reverse proxy SSL problems

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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
---






share|improve this question





















  • 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














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
---






share|improve this question





















  • 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












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
---






share|improve this question













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
---








share|improve this question












share|improve this question




share|improve this question








edited Jun 5 at 0:50









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
















  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491