You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris Arnold <ca...@electrichendrix.com> on 2015/01/19 20:33:56 UTC
[users@httpd] Proxy pass
Apache 2.4.10. This use to work: a request from https://share.domain.tld would find our Apache server. Apache would pass it to the tomcat app running on the same server port 8443. Since going to Apache 2.4.10, this no longer works. Here is the vhost:
This rewrites https://share.anydomain.tld<https://share.anydomain.tld/> to our share server
RewriteEngine On
RewriteCond %{HTTP_HOST} ^share\.
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !^/share/
RewriteRule ^/(.*) https://share.domain.tld:8443/share/ [P]
Is there something extra for this to work on Apache 2.4.10?
Sent from my iPhone
Re: [users@httpd] Proxy pass
Posted by Yann Ylavic <yl...@gmail.com>.
Hi,
On Wed, Jan 21, 2015 at 7:25 PM, Chris Arnold
<ca...@electrichendrix.com> wrote:
[...]
>
> [Wed Jan 21 12:50:06.641654 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH02003: SSL Proxy connect failed
> [Wed Jan 21 12:50:06.641719 2015] [ssl:info] [pid 3229] SSL Library Error: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
> [Wed Jan 21 12:50:06.641769 2015] [ssl:info] [pid 3229] SSL Library Error: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
Old httpd-2.2.12 did not handle ECDH (and probably the SSL library on
sles11 either), whereas latests httpd (2.2.x and 2.4.x) do and hence
announce it to the backend server which in turn use it (preferably)
for the handshake...
However it seems that the backend is using an ECDH curve which is
unknown on the httpd side (by the SSL lib).
To avoid this error, you'll have to either exclude ECDH ciphers from
SSLProxyCipherSuite (eg. "ALL:!ECDH") so that mod_ssl won't use them
on backend connections, or configure your backend so that it uses a
curve (ecparams) known on the sles12 side (by the SSL library).
Regards,
Yann.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Proxy pass
Posted by Chris Arnold <ca...@electrichendrix.com>.
On Jan 21, 2015, at 3:34 PM, Rodrigo Cunha <ro...@gmail.com> wrote:
>
> Hi,
> what is your enviroment layout ?
> SSL which webproxy or ssl in apache withou webproxy?
Not sure I understand your second question but I will see if the answer to your first question is of any help:
1 internet facing Apache 2.2.12 server. This server answers ports 80 and 443 requests. The servers behind it run various web apps so the Internet facing server needs to reverse proxy to the servers behind it.
We are upgrading the OS on the Internet facing server: from sles 11 sp3 with Apache 2.2.12 to sles 12 with Apache 2.4.10 by first installing sles 12 on a spare server in order to keep production server up. Now I am trying to get the reverse proxies in place. This particular one needs to take https://share2.domain.tld and proxy to a tomcat app located at https://share2.domain.tld:8443/share
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Proxy pass
Posted by Rodrigo Cunha <ro...@gmail.com>.
Hi,
what is your enviroment layout ?
SSL which webproxy or ssl in apache withou webproxy?
2015-01-21 16:25 GMT-02:00 Chris Arnold <ca...@electrichendrix.com>:
>
> ________________________________________
> From: Chris Arnold <ca...@electrichendrix.com>
> Sent: Tuesday, January 20, 2015 9:07 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Proxy pass
>
> > Is there something extra for this to work on Apache 2.4.10?
>
> >>Compared to what previous level? LogLevel rewrite:trace8 and the
> >>error log would be a big help.
>
> [Wed Jan 21 12:50:06.446776 2015] [ssl:info] [pid 3225] [client
> 192.168.123.165:50268] AH01964: Connection to child 0 established (server
> share2.domain.tld:443)
> [Wed Jan 21 12:50:06.447167 2015] [ssl:info] [pid 3227] [client
> 192.168.123.165:50269] AH01964: Connection to child 2 established (server
> share2.domain.tld:443)
> [Wed Jan 21 12:50:06.447741 2015] [ssl:debug] [pid 3225]
> ssl_engine_kernel.c(1908): [client 192.168.123.165:50268] AH02043: SSL
> virtual host for servername share2.domain.tld found
> [Wed Jan 21 12:50:06.448112 2015] [ssl:debug] [pid 3227]
> ssl_engine_kernel.c(1908): [client 192.168.123.165:50269] AH02043: SSL
> virtual host for servername share2.domain.tld found
> [Wed Jan 21 12:50:06.497089 2015] [ssl:debug] [pid 3225]
> ssl_engine_kernel.c(1841): [client 192.168.123.165:50268] AH02041:
> Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
> [Wed Jan 21 12:50:06.511149 2015] [ssl:debug] [pid 3227]
> ssl_engine_kernel.c(1841): [client 192.168.123.165:50269] AH02041:
> Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
> [Wed Jan 21 12:50:06.511272 2015] [ssl:info] [pid 3225] (70014)End of file
> found: [client 192.168.123.165:50268] AH01991: SSL input filter read
> failed.
> [Wed Jan 21 12:50:06.511349 2015] [ssl:debug] [pid 3225]
> ssl_engine_io.c(1003): [client 192.168.123.165:50268] AH02001: Connection
> closed to child 0 with standard shutdown (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.515121 2015] [ssl:info] [pid 3227] (70014)End of file
> found: [client 192.168.123.165:50269] AH01991: SSL input filter read
> failed.
> [Wed Jan 21 12:50:06.515245 2015] [ssl:debug] [pid 3227]
> ssl_engine_io.c(1003): [client 192.168.123.165:50269] AH02001: Connection
> closed to child 2 with standard shutdown (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.531492 2015] [ssl:info] [pid 3229] [client
> 192.168.123.165:50270] AH01964: Connection to child 4 established (server
> share2.domain.tld:443)
> [Wed Jan 21 12:50:06.532326 2015] [ssl:debug] [pid 3229]
> ssl_engine_kernel.c(1908): [client 192.168.123.165:50270] AH02043: SSL
> virtual host for servername share2.domain.tld found
> [Wed Jan 21 12:50:06.583291 2015] [ssl:debug] [pid 3229]
> ssl_engine_kernel.c(1841): [client 192.168.123.165:50270] AH02041:
> Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
> [Wed Jan 21 12:50:06.606116 2015] [ssl:debug] [pid 3229]
> ssl_engine_kernel.c(243): [client 192.168.123.165:50270] AH02034: Initial
> (No.1) HTTPS request received for child 4 (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.606184 2015] [rewrite:trace2] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] init rewrite
> engine with requested uri /
> [Wed Jan 21 12:50:06.606198 2015] [rewrite:trace3] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] applying
> pattern '^/(.*)' to uri '/'
> [Wed Jan 21 12:50:06.606232 2015] [rewrite:trace4] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond:
> input='share2.domain.tld' pattern='^share2\\.' => matched
> [Wed Jan 21 12:50:06.606246 2015] [rewrite:trace4] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond:
> input='on' pattern='on' => matched
> [Wed Jan 21 12:50:06.606257 2015] [rewrite:trace4] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond:
> input='/' pattern='!^/share2/' => matched
> [Wed Jan 21 12:50:06.606267 2015] [rewrite:trace2] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] rewrite '/'
> -> 'https://share2.domain.tld:8443/share/'
> [Wed Jan 21 12:50:06.606278 2015] [rewrite:trace2] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] forcing
> proxy-throughput with https://share2.domain.tld:8443/share/
> [Wed Jan 21 12:50:06.606289 2015] [rewrite:trace1] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] go-ahead
> with proxy request proxy:https://share2.domain.tld:8443/share/ [OK]
> [Wed Jan 21 12:50:06.606312 2015] [authz_core:debug] [pid 3229]
> mod_authz_core.c(828): [client 192.168.123.165:50270] AH01628:
> authorization result: granted (no directives)
> [Wed Jan 21 12:50:06.606375 2015] [proxy:debug] [pid 3229]
> mod_proxy.c(1155): [client 192.168.123.165:50270] AH01143: Running scheme
> https handler (attempt 0)
> [Wed Jan 21 12:50:06.606388 2015] [proxy:debug] [pid 3229]
> proxy_util.c(2131): AH00942: HTTPS: has acquired connection for (*)
> [Wed Jan 21 12:50:06.606401 2015] [proxy:debug] [pid 3229]
> proxy_util.c(2184): [client 192.168.123.165:50270] AH00944: connecting
> https://share2.domain.tld:8443/share/ to share2.domain.tld:8443
> [Wed Jan 21 12:50:06.606447 2015] [proxy:debug] [pid 3229]
> proxy_util.c(2385): [client 192.168.123.165:50270] AH00947: connected
> /share/ to share2.domain.tld:8443
> [Wed Jan 21 12:50:06.606540 2015] [proxy:debug] [pid 3229]
> proxy_util.c(2873): AH00962: HTTPS: connection complete to
> 192.168.123.200:8443 (share2.domain.tld)
> [Wed Jan 21 12:50:06.606552 2015] [ssl:info] [pid 3229] [remote
> 192.168.123.200:8443] AH01964: Connection to child 0 established (server
> share2.domain.tld:443)
> [Wed Jan 21 12:50:06.641082 2015] [ssl:debug] [pid 3229]
> ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275:
> Certificate Verification, depth 1, CRL checking mode: none [subject:
> CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer:
> CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial:
> 82D463F66C263CD7 / notbefore: Aug 10 16:17:34 2012 GMT / notafter: Jul 17
> 16:17:34 2112 GMT]
> [Wed Jan 21 12:50:06.641284 2015] [ssl:debug] [pid 3229]
> ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275:
> Certificate Verification, depth 1, CRL checking mode: none [subject:
> CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer:
> CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial:
> 82D463F66C263CD7 / notbefore: Aug 10 16:17:34 2012 GMT / notafter: Jul 17
> 16:17:34 2112 GMT]
> [Wed Jan 21 12:50:06.641594 2015] [ssl:debug] [pid 3229]
> ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275:
> Certificate Verification, depth 0, CRL checking mode: none [subject:
> CN=Alfresco Repository,OU=Unknown,O=Alfresco Software
> Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software
> Ltd.,L=Maidenhead,ST=UK,C=GB / serial: FFF3BCDAE57BBA22 / notbefore: Aug 10
> 16:21:00 2012 GMT / notafter: Jul 17 16:21:00 2112 GMT]
> [Wed Jan 21 12:50:06.641654 2015] [ssl:info] [pid 3229] [remote
> 192.168.123.200:8443] AH02003: SSL Proxy connect failed
> [Wed Jan 21 12:50:06.641719 2015] [ssl:info] [pid 3229] SSL Library
> Error: error:100AE081:elliptic curve
> routines:EC_GROUP_new_by_curve_name:unknown group
> [Wed Jan 21 12:50:06.641769 2015] [ssl:info] [pid 3229] SSL Library Error:
> error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
> [Wed Jan 21 12:50:06.641788 2015] [ssl:info] [pid 3229] [remote
> 192.168.123.200:8443] AH01998: Connection closed to child 0 with abortive
> shutdown (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.641925 2015] [ssl:info] [pid 3229] [remote
> 192.168.123.200:8443] AH01997: SSL handshake failed: sending 502
> [Wed Jan 21 12:50:06.641993 2015] [proxy_http:error] [pid 3229]
> (103)Software caused connection abort: [client 192.168.123.165:50270]
> AH01102: error reading status line from remote server share2.domain.tld:8443
> [Wed Jan 21 12:50:06.642075 2015] [proxy_http:debug] [pid 3229]
> mod_proxy_http.c(1369): [client 192.168.123.165:50270] AH01105: NOT
> Closing connection to client although reading from backend server
> share2.domain.tld:8443 failed.
> [Wed Jan 21 12:50:06.642098 2015] [proxy:error] [pid 3229] [client
> 192.168.123.165:50270] AH00898: Error reading from remote server returned
> by /
> [Wed Jan 21 12:50:06.642113 2015] [proxy:debug] [pid 3229]
> proxy_util.c(2146): AH00943: HTTPS: has released connection for (*)
> [Wed Jan 21 12:50:06.642300 2015] [rewrite:trace2] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19a6fb0/initial/redir#1] init
> rewrite engine with requested uri /error/HTTP_BAD_GATEWAY.html.var
> [Wed Jan 21 12:50:06.642330 2015] [rewrite:trace3] [pid 3229]
> mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - -
> [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19a6fb0/initial/redir#1]
> applying pattern '^/(.*)' to uri '/error/HTTP_BAD_GATEWAY.html.var'
>
> It looks like the proxy is working but there seems to be a SSL handshake
> issue. This same setup (with the eception of apache 2.2.x) is working fine
> in production. The apache certificate is a self-signed cert, right now but
> we have a godaddy cert in the working setup. Can anyone point me in the
> right direction to get this working?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Atenciosamente,
Rodrigo da Silva Cunha
Re: [users@httpd] Proxy pass
Posted by Hendrik Schmieder <he...@jedox.com>.
Chris Arnold schrieb:
>
> ________________________________________
> From: Chris Arnold<ca...@electrichendrix.com>
> Sent: Tuesday, January 20, 2015 9:07 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Proxy pass
>
>> Is there something extra for this to work on Apache 2.4.10?
>
>>> Compared to what previous level? LogLevel rewrite:trace8 and the
>>> error log would be a big help.
>
> [Wed Jan 21 12:50:06.446776 2015] [ssl:info] [pid 3225] [client 192.168.123.165:50268] AH01964: Connection to child 0 established (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.447167 2015] [ssl:info] [pid 3227] [client 192.168.123.165:50269] AH01964: Connection to child 2 established (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.447741 2015] [ssl:debug] [pid 3225] ssl_engine_kernel.c(1908): [client 192.168.123.165:50268] AH02043: SSL virtual host for servername share2.domain.tld found
> [Wed Jan 21 12:50:06.448112 2015] [ssl:debug] [pid 3227] ssl_engine_kernel.c(1908): [client 192.168.123.165:50269] AH02043: SSL virtual host for servername share2.domain.tld found
> [Wed Jan 21 12:50:06.497089 2015] [ssl:debug] [pid 3225] ssl_engine_kernel.c(1841): [client 192.168.123.165:50268] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
> [Wed Jan 21 12:50:06.511149 2015] [ssl:debug] [pid 3227] ssl_engine_kernel.c(1841): [client 192.168.123.165:50269] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
> [Wed Jan 21 12:50:06.511272 2015] [ssl:info] [pid 3225] (70014)End of file found: [client 192.168.123.165:50268] AH01991: SSL input filter read failed.
> [Wed Jan 21 12:50:06.511349 2015] [ssl:debug] [pid 3225] ssl_engine_io.c(1003): [client 192.168.123.165:50268] AH02001: Connection closed to child 0 with standard shutdown (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.515121 2015] [ssl:info] [pid 3227] (70014)End of file found: [client 192.168.123.165:50269] AH01991: SSL input filter read failed.
> [Wed Jan 21 12:50:06.515245 2015] [ssl:debug] [pid 3227] ssl_engine_io.c(1003): [client 192.168.123.165:50269] AH02001: Connection closed to child 2 with standard shutdown (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.531492 2015] [ssl:info] [pid 3229] [client 192.168.123.165:50270] AH01964: Connection to child 4 established (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.532326 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1908): [client 192.168.123.165:50270] AH02043: SSL virtual host for servername share2.domain.tld found
> [Wed Jan 21 12:50:06.583291 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1841): [client 192.168.123.165:50270] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
> [Wed Jan 21 12:50:06.606116 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(243): [client 192.168.123.165:50270] AH02034: Initial (No.1) HTTPS request received for child 4 (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.606184 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] init rewrite engine with requested uri /
> [Wed Jan 21 12:50:06.606198 2015] [rewrite:trace3] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] applying pattern '^/(.*)' to uri '/'
> [Wed Jan 21 12:50:06.606232 2015] [rewrite:trace4] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond: input='share2.domain.tld' pattern='^share2\\.' => matched
> [Wed Jan 21 12:50:06.606246 2015] [rewrite:trace4] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond: input='on' pattern='on' => matched
> [Wed Jan 21 12:50:06.606257 2015] [rewrite:trace4] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond: input='/' pattern='!^/share2/' => matched
> [Wed Jan 21 12:50:06.606267 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] rewrite '/' -> 'https://share2.domain.tld:8443/share/'
> [Wed Jan 21 12:50:06.606278 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] forcing proxy-throughput with https://share2.domain.tld:8443/share/
> [Wed Jan 21 12:50:06.606289 2015] [rewrite:trace1] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] go-ahead with proxy request proxy:https://share2.domain.tld:8443/share/ [OK]
> [Wed Jan 21 12:50:06.606312 2015] [authz_core:debug] [pid 3229] mod_authz_core.c(828): [client 192.168.123.165:50270] AH01628: authorization result: granted (no directives)
> [Wed Jan 21 12:50:06.606375 2015] [proxy:debug] [pid 3229] mod_proxy.c(1155): [client 192.168.123.165:50270] AH01143: Running scheme https handler (attempt 0)
> [Wed Jan 21 12:50:06.606388 2015] [proxy:debug] [pid 3229] proxy_util.c(2131): AH00942: HTTPS: has acquired connection for (*)
> [Wed Jan 21 12:50:06.606401 2015] [proxy:debug] [pid 3229] proxy_util.c(2184): [client 192.168.123.165:50270] AH00944: connecting https://share2.domain.tld:8443/share/ to share2.domain.tld:8443
> [Wed Jan 21 12:50:06.606447 2015] [proxy:debug] [pid 3229] proxy_util.c(2385): [client 192.168.123.165:50270] AH00947: connected /share/ to share2.domain.tld:8443
> [Wed Jan 21 12:50:06.606540 2015] [proxy:debug] [pid 3229] proxy_util.c(2873): AH00962: HTTPS: connection complete to 192.168.123.200:8443 (share2.domain.tld)
> [Wed Jan 21 12:50:06.606552 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH01964: Connection to child 0 established (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.641082 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275: Certificate Verification, depth 1, CRL checking mode: none [subject: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial: 82D463F66C263CD7 / notbefore: Aug 10 16:17:34 2012 GMT / notafter: Jul 17 16:17:34 2112 GMT]
> [Wed Jan 21 12:50:06.641284 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275: Certificate Verification, depth 1, CRL checking mode: none [subject: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial: 82D463F66C263CD7 / notbefore: Aug 10 16:17:34 2012 GMT / notafter: Jul 17 16:17:34 2112 GMT]
> [Wed Jan 21 12:50:06.641594 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275: Certificate Verification, depth 0, CRL checking mode: none [subject: CN=Alfresco Repository,OU=Unknown,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial: FFF3BCDAE57BBA22 / notbefore: Aug 10 16:21:00 2012 GMT / notafter: Jul 17 16:21:00 2112 GMT]
> [Wed Jan 21 12:50:06.641654 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH02003: SSL Proxy connect failed
> [Wed Jan 21 12:50:06.641719 2015] [ssl:info] [pid 3229] SSL Library Error: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
> [Wed Jan 21 12:50:06.641769 2015] [ssl:info] [pid 3229] SSL Library Error: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
> [Wed Jan 21 12:50:06.641788 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH01998: Connection closed to child 0 with abortive shutdown (server share2.domain.tld:443)
> [Wed Jan 21 12:50:06.641925 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH01997: SSL handshake failed: sending 502
> [Wed Jan 21 12:50:06.641993 2015] [proxy_http:error] [pid 3229] (103)Software caused connection abort: [client 192.168.123.165:50270] AH01102: error reading status line from remote server share2.domain.tld:8443
> [Wed Jan 21 12:50:06.642075 2015] [proxy_http:debug] [pid 3229] mod_proxy_http.c(1369): [client 192.168.123.165:50270] AH01105: NOT Closing connection to client although reading from backend server share2.domain.tld:8443 failed.
> [Wed Jan 21 12:50:06.642098 2015] [proxy:error] [pid 3229] [client 192.168.123.165:50270] AH00898: Error reading from remote server returned by /
> [Wed Jan 21 12:50:06.642113 2015] [proxy:debug] [pid 3229] proxy_util.c(2146): AH00943: HTTPS: has released connection for (*)
> [Wed Jan 21 12:50:06.642300 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19a6fb0/initial/redir#1] init rewrite engine with requested uri /error/HTTP_BAD_GATEWAY.html.var
> [Wed Jan 21 12:50:06.642330 2015] [rewrite:trace3] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19a6fb0/initial/redir#1] applying pattern '^/(.*)' to uri '/error/HTTP_BAD_GATEWAY.html.var'
>
> It looks like the proxy is working but there seems to be a SSL handshake issue. This same setup (with the eception of apache 2.2.x) is working fine in production. The apache certificate is a self-signed cert, right now but we have a godaddy cert in the working setup. Can anyone point me in the right direction to get this working?
> ---------------------------------------------------------------------
My bet is, that the self-signed cert is not trusted in your Apache 2.4
configuration.
Hendrik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Proxy pass
Posted by Chris Arnold <ca...@electrichendrix.com>.
________________________________________
From: Chris Arnold <ca...@electrichendrix.com>
Sent: Tuesday, January 20, 2015 9:07 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Proxy pass
> Is there something extra for this to work on Apache 2.4.10?
>>Compared to what previous level? LogLevel rewrite:trace8 and the
>>error log would be a big help.
[Wed Jan 21 12:50:06.446776 2015] [ssl:info] [pid 3225] [client 192.168.123.165:50268] AH01964: Connection to child 0 established (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.447167 2015] [ssl:info] [pid 3227] [client 192.168.123.165:50269] AH01964: Connection to child 2 established (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.447741 2015] [ssl:debug] [pid 3225] ssl_engine_kernel.c(1908): [client 192.168.123.165:50268] AH02043: SSL virtual host for servername share2.domain.tld found
[Wed Jan 21 12:50:06.448112 2015] [ssl:debug] [pid 3227] ssl_engine_kernel.c(1908): [client 192.168.123.165:50269] AH02043: SSL virtual host for servername share2.domain.tld found
[Wed Jan 21 12:50:06.497089 2015] [ssl:debug] [pid 3225] ssl_engine_kernel.c(1841): [client 192.168.123.165:50268] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
[Wed Jan 21 12:50:06.511149 2015] [ssl:debug] [pid 3227] ssl_engine_kernel.c(1841): [client 192.168.123.165:50269] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
[Wed Jan 21 12:50:06.511272 2015] [ssl:info] [pid 3225] (70014)End of file found: [client 192.168.123.165:50268] AH01991: SSL input filter read failed.
[Wed Jan 21 12:50:06.511349 2015] [ssl:debug] [pid 3225] ssl_engine_io.c(1003): [client 192.168.123.165:50268] AH02001: Connection closed to child 0 with standard shutdown (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.515121 2015] [ssl:info] [pid 3227] (70014)End of file found: [client 192.168.123.165:50269] AH01991: SSL input filter read failed.
[Wed Jan 21 12:50:06.515245 2015] [ssl:debug] [pid 3227] ssl_engine_io.c(1003): [client 192.168.123.165:50269] AH02001: Connection closed to child 2 with standard shutdown (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.531492 2015] [ssl:info] [pid 3229] [client 192.168.123.165:50270] AH01964: Connection to child 4 established (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.532326 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1908): [client 192.168.123.165:50270] AH02043: SSL virtual host for servername share2.domain.tld found
[Wed Jan 21 12:50:06.583291 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1841): [client 192.168.123.165:50270] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
[Wed Jan 21 12:50:06.606116 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(243): [client 192.168.123.165:50270] AH02034: Initial (No.1) HTTPS request received for child 4 (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.606184 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] init rewrite engine with requested uri /
[Wed Jan 21 12:50:06.606198 2015] [rewrite:trace3] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] applying pattern '^/(.*)' to uri '/'
[Wed Jan 21 12:50:06.606232 2015] [rewrite:trace4] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond: input='share2.domain.tld' pattern='^share2\\.' => matched
[Wed Jan 21 12:50:06.606246 2015] [rewrite:trace4] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond: input='on' pattern='on' => matched
[Wed Jan 21 12:50:06.606257 2015] [rewrite:trace4] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] RewriteCond: input='/' pattern='!^/share2/' => matched
[Wed Jan 21 12:50:06.606267 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] rewrite '/' -> 'https://share2.domain.tld:8443/share/'
[Wed Jan 21 12:50:06.606278 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] forcing proxy-throughput with https://share2.domain.tld:8443/share/
[Wed Jan 21 12:50:06.606289 2015] [rewrite:trace1] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19aa0a0/initial] go-ahead with proxy request proxy:https://share2.domain.tld:8443/share/ [OK]
[Wed Jan 21 12:50:06.606312 2015] [authz_core:debug] [pid 3229] mod_authz_core.c(828): [client 192.168.123.165:50270] AH01628: authorization result: granted (no directives)
[Wed Jan 21 12:50:06.606375 2015] [proxy:debug] [pid 3229] mod_proxy.c(1155): [client 192.168.123.165:50270] AH01143: Running scheme https handler (attempt 0)
[Wed Jan 21 12:50:06.606388 2015] [proxy:debug] [pid 3229] proxy_util.c(2131): AH00942: HTTPS: has acquired connection for (*)
[Wed Jan 21 12:50:06.606401 2015] [proxy:debug] [pid 3229] proxy_util.c(2184): [client 192.168.123.165:50270] AH00944: connecting https://share2.domain.tld:8443/share/ to share2.domain.tld:8443
[Wed Jan 21 12:50:06.606447 2015] [proxy:debug] [pid 3229] proxy_util.c(2385): [client 192.168.123.165:50270] AH00947: connected /share/ to share2.domain.tld:8443
[Wed Jan 21 12:50:06.606540 2015] [proxy:debug] [pid 3229] proxy_util.c(2873): AH00962: HTTPS: connection complete to 192.168.123.200:8443 (share2.domain.tld)
[Wed Jan 21 12:50:06.606552 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH01964: Connection to child 0 established (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.641082 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275: Certificate Verification, depth 1, CRL checking mode: none [subject: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial: 82D463F66C263CD7 / notbefore: Aug 10 16:17:34 2012 GMT / notafter: Jul 17 16:17:34 2112 GMT]
[Wed Jan 21 12:50:06.641284 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275: Certificate Verification, depth 1, CRL checking mode: none [subject: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial: 82D463F66C263CD7 / notbefore: Aug 10 16:17:34 2012 GMT / notafter: Jul 17 16:17:34 2112 GMT]
[Wed Jan 21 12:50:06.641594 2015] [ssl:debug] [pid 3229] ssl_engine_kernel.c(1378): [remote 192.168.123.200:8443] AH02275: Certificate Verification, depth 0, CRL checking mode: none [subject: CN=Alfresco Repository,OU=Unknown,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / issuer: CN=Alfresco CA,O=Alfresco Software Ltd.,L=Maidenhead,ST=UK,C=GB / serial: FFF3BCDAE57BBA22 / notbefore: Aug 10 16:21:00 2012 GMT / notafter: Jul 17 16:21:00 2112 GMT]
[Wed Jan 21 12:50:06.641654 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH02003: SSL Proxy connect failed
[Wed Jan 21 12:50:06.641719 2015] [ssl:info] [pid 3229] SSL Library Error: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
[Wed Jan 21 12:50:06.641769 2015] [ssl:info] [pid 3229] SSL Library Error: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
[Wed Jan 21 12:50:06.641788 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH01998: Connection closed to child 0 with abortive shutdown (server share2.domain.tld:443)
[Wed Jan 21 12:50:06.641925 2015] [ssl:info] [pid 3229] [remote 192.168.123.200:8443] AH01997: SSL handshake failed: sending 502
[Wed Jan 21 12:50:06.641993 2015] [proxy_http:error] [pid 3229] (103)Software caused connection abort: [client 192.168.123.165:50270] AH01102: error reading status line from remote server share2.domain.tld:8443
[Wed Jan 21 12:50:06.642075 2015] [proxy_http:debug] [pid 3229] mod_proxy_http.c(1369): [client 192.168.123.165:50270] AH01105: NOT Closing connection to client although reading from backend server share2.domain.tld:8443 failed.
[Wed Jan 21 12:50:06.642098 2015] [proxy:error] [pid 3229] [client 192.168.123.165:50270] AH00898: Error reading from remote server returned by /
[Wed Jan 21 12:50:06.642113 2015] [proxy:debug] [pid 3229] proxy_util.c(2146): AH00943: HTTPS: has released connection for (*)
[Wed Jan 21 12:50:06.642300 2015] [rewrite:trace2] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19a6fb0/initial/redir#1] init rewrite engine with requested uri /error/HTTP_BAD_GATEWAY.html.var
[Wed Jan 21 12:50:06.642330 2015] [rewrite:trace3] [pid 3229] mod_rewrite.c(475): [client 192.168.123.165:50270] 192.168.123.165 - - [share2.domain.tld/sid#7f94a1a4fd00][rid#7f94a19a6fb0/initial/redir#1] applying pattern '^/(.*)' to uri '/error/HTTP_BAD_GATEWAY.html.var'
It looks like the proxy is working but there seems to be a SSL handshake issue. This same setup (with the eception of apache 2.2.x) is working fine in production. The apache certificate is a self-signed cert, right now but we have a godaddy cert in the working setup. Can anyone point me in the right direction to get this working?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Proxy pass
Posted by Chris Arnold <ca...@electrichendrix.com>.
> Is there something extra for this to work on Apache 2.4.10?
>>Compared to what previous level? LogLevel rewrite:trace8 and the
>>error log would be a big help.
Debug says:
[Tue Jan 20 19:32:05.772494 2015] [reqtimeout:info] [pid 7091] [client 192.168.123.165:51763] AH01382: Request header read timeout
[Tue Jan 20 19:32:05.772590 2015] [ssl:info] [pid 7091] (70007)The timeout specified has expired: [client 192.168.123.165:51763] AH01991: SSL input filter read failed.
[Tue Jan 20 19:32:05.772675 2015] [ssl:debug] [pid 7091] ssl_engine_io.c(1003): [client 192.168.123.165:51763] AH02001: Connection closed to child 2 with standard shutdown (server domain.net:443)
Eric, i am going to send you an email off-list.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Proxy pass
Posted by Chris Arnold <ca...@electrichendrix.com>.
>> Is there something extra for this to work on Apache 2.4.10?
>
> Compared to what previous level? LogLevel rewrite:trace8 and the
> error log would be a big help.
The only logs are found in the access log:
Re: [users@httpd] Proxy pass
Posted by Eric Covener <co...@gmail.com>.
On Mon, Jan 19, 2015 at 2:33 PM, Chris Arnold
<ca...@electrichendrix.com> wrote:
> Is there something extra for this to work on Apache 2.4.10?
Compared to what previous level? LogLevel rewrite:trace8 and the
error log would be a big help.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org