RE: RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated as suggested, and getting a different response -- "The requested URL / was not found on this server.  IBM_HTTP_Server Server at choiceportal-d Port 8084"
Following is the wget response:

wget -r http://choiceportal-d:8084
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = c:/progra~1/wget/etc/wgetrc
--2018-12-11 15:46:43--  http://choiceportal-d:8084/
Resolving choiceportal-d... 10.90.231.36, 10.90.227.6, 10.90.231.6, ...
Connecting to choiceportal-d|10.90.231.36|:8084... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-12-11 15:46:43 ERROR 404: Not Found.

I thought I would compare wget responses when issued against the V8.5 server running port 80/443:

wget -r http://choiceportal-d
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = c:/progra~1/wget/etc/wgetrc
--2018-12-11 15:44:01--  http://choiceportal-d/
Resolving choiceportal-d... 10.90.227.6, 10.90.231.6, 10.90.227.36, ...
Connecting to choiceportal-d|10.90.227.6|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://choiceportal-d/ [following]
--2018-12-11 15:44:01--  https://choiceportal-d/
Connecting to choiceportal-d|10.90.227.6|:443... connected.
ERROR: cannot verify choiceportal-d's certificate, issued by `/C=US/ST=Ohio/L=Columbus/O=KSD Co/OU=Complex - Middleware/CN=KSD Root CA (2014)/emailAddress=middleware@xxxxxxxxx':
  Self-signed certificate encountered.
To connect to choiceportal-d insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.



-----Original Message-----
From: Eric Covener <covener@xxxxxxxxx> 
Sent: Tuesday, December 11, 2018 2:57 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  RE: [EXTERNAL] Re: [users@httpd] Help Creating Test HTTP Server with SSL

On Tue, Dec 11, 2018 at 2:55 PM Kathy S Durlacher <ksdurlacher@xxxxxxx> wrote:
>
> Hi Eric -- first let me thank you for your help - truly appreciated.
> Can you please respond placing a space following your https so what 
> you typed is not converted to https: //urldefense, etc

Here's the same reply in a pastebin: https://urldefense.proofpoint.com/v2/url?u=https-3A__hastebin.com_carinejiza.rb&d=DwIFaQ&c=gMbiD-Q9WoaRgoXZKCrSug&r=S_61YgkDZJZT-cThGRSCt-9sxMcpAKVXN1DxEm4Z5Qk&m=kL7VfANtCBW4zaxP9Qmei6Jjfa1PmkmMPCSV5Gtn7gk&s=3BAoctDUOBpMBekjUloivu2wkNFjXyXPAUuQcPmUjYI&e=


>
> -----Original Message-----
> From: Eric Covener <covener@xxxxxxxxx>
> Sent: Tuesday, December 11, 2018 2:38 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  RE: [EXTERNAL] Re: [users@httpd] Help 
> Creating Test HTTP Server with SSL
>
> On Tue, Dec 11, 2018 at 2:28 PM Kathy S Durlacher <ksdurlacher@xxxxxxx> wrote:
> >
> > Wget downloaded and executed, and I'm receiving the following which looks to point to a possible problem with the recode of the uri to get to test SSL port 444:
> >
> > wget -r
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__choiceportal-2Dd
> > -3 
> > A8084&d=DwIBaQ&c=gMbiD-Q9WoaRgoXZKCrSug&r=S_61YgkDZJZT-cThGRSCt-9sxM
> > cp 
> > AKVXN1DxEm4Z5Qk&m=gOJXDRuKVpX7vvZI6RZN86-K0yWidsrOWS4qo0a8tl0&s=Hn2s
> > RZ fbdwSFMpwQbtwzVP6C13LRSlP1neHVTdxEk_w&e=
> > SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = 
> > c:/progra~1/wget/etc/wgetrc
> > --2018-12-11 14:15:52--
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__choiceportal-2Dd
> > -3 
> > A8084_&d=DwIBaQ&c=gMbiD-Q9WoaRgoXZKCrSug&r=S_61YgkDZJZT-cThGRSCt-9sx
> > Mc
> > pAKVXN1DxEm4Z5Qk&m=gOJXDRuKVpX7vvZI6RZN86-K0yWidsrOWS4qo0a8tl0&s=Z1K
> > u4 PNvTIRX8xS84CHU8OeLaiSyJ4TLEcKo-etjiOw&e=
> > Resolving choiceportal-d... 10.90.231.6, 10.90.227.36, 10.90.231.36, ...
> > Connecting to choiceportal-d|10.90.231.6|:8084... connected.
> > HTTP request sent, awaiting response... 302 Found
> > Location:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__choiceportal-2D
> > d- 
> > 3A8084-25-3A444-257BREQUEST-5FURI-257D&d=DwIBaQ&c=gMbiD-Q9WoaRgoXZKC
> > rS 
> > ug&r=S_61YgkDZJZT-cThGRSCt-9sxMcpAKVXN1DxEm4Z5Qk&m=gOJXDRuKVpX7vvZI6
> > RZ 
> > N86-K0yWidsrOWS4qo0a8tl0&s=81zStjCRKeLJ2lVhmd-A2QZeU5Pnb5FRs3nvWZNrN
> > HA
> > &e= [following]
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__choiceportal-2Dd-3A8084-25-3A444-257BREQUEST-5FURI-257D&d=DwIBaQ&c=gMbiD-Q9WoaRgoXZKCrSug&r=S_61YgkDZJZT-cThGRSCt-9sxMcpAKVXN1DxEm4Z5Qk&m=gOJXDRuKVpX7vvZI6RZN86-K0yWidsrOWS4qo0a8tl0&s=81zStjCRKeLJ2lVhmd-A2QZeU5Pnb5FRs3nvWZNrNHA&e=: Bad port number.
>
> >     RewriteRule (.*)
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__-25-257BHTTP-5F
> > HO 
> > ST-257D-25-3A444-257BREQUEST-5FURI-257D&d=DwIBaQ&c=gMbiD-Q9WoaRgoXZK
> > Cr 
> > Sug&r=S_61YgkDZJZT-cThGRSCt-9sxMcpAKVXN1DxEm4Z5Qk&m=gOJXDRuKVpX7vvZI
> > 6R 
> > ZN86-K0yWidsrOWS4qo0a8tl0&s=MZC41HKyztCxHZmWU7441g8Y5XAdfrvbGpORVfNR
> > MF
> > o&e=
>
> The % should be after the :444.
>
> But more importantly, %{HTTP_HOST} will already contain the port if a non-standard port was used for HTTP.  So tacking on :444 will not work.
> Here is one recipe to isolate the host and port and use the host in the redirect:
>
>     RewriteEngine On
>     RewriteCond %{HTTP_HOST}  (.*?)(:\d+)?$
>     RewriteRule ^/(.*) 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__-251-3A444_-241&d
> =DwIBaQ&c=gMbiD-Q9WoaRgoXZKCrSug&r=S_61YgkDZJZT-cThGRSCt-9sxMcpAKVXN1D
> xEm4Z5Qk&m=gOJXDRuKVpX7vvZI6RZN86-K0yWidsrOWS4qo0a8tl0&s=ZAWVhJBD8g-6R
> Vn5YlZIOKuNPRNxrmzGTxr9dFAcomg&e=
>
> %1 refers to the capture in the preceding condition.  The other change to the RewriteRule is personal preference of having the / be outside the capture and explicit in the substitution for readability.
>
>
>     RewriteCond %{HTTP_HOST}  (.*):?\d*)
>     RewriteRule (.*) 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__-251-3A444-257BRE
> QUEST-5FURI-257D&d=DwIBaQ&c=gMbiD-Q9WoaRgoXZKCrSug&r=S_61YgkDZJZT-cThG
> RSCt-9sxMcpAKVXN1DxEm4Z5Qk&m=gOJXDRuKVpX7vvZI6RZN86-K0yWidsrOWS4qo0a8t
> l0&s=JXRuQwB0SDLrOBiiAleYS5yJ5Lup65CGzBp3YJjug3c&e=
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux