Help Creating Test HTTP Server with SSL

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

 



Looking to create a test IBM HTTP Server on z/OS to convert from version 8.5 to version 9.  Until the upgrade takes place, I need to keep the current environment active for users, so starting another HTTP server using different ports in place of the port 80 and SSL port 443.  Test HTTP server is setup with 8084 and SSL 444.  Everything is accessible in the test environment except for WebSphere Application Server app utilizing SSL.  Where am I going wrong? 

 

First showing how working in 8.5:

<VirtualHost *:80>                                                         

ServerName choiceportal-d.ksdco.com                                        

    ServerAlias choiceportal-d                                             

    ServerAdmin midddlware@xxxxxxx                                         

    DocumentRoot "/usr/lpp/ihsconfg/ihs/ihs001/htdocs/choiceportal-d"      

    ErrorLog logs/choiceportal-d.ksdco.com-error_log                       

    CustomLog logs/choiceportal-d.ksdco.com-access_log common              

    RewriteEngine On                                                        

    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}                    

</VirtualHost>                                                             

                                                                            

<VirtualHost *:443>                                                        

    ServerName choiceportal-d.ksdco.com                                    

    ServerAlias choiceportal-d                                             

    ServerAdmin midddlware@xxxxxxx                                         

    DocumentRoot "/usr/lpp/ihsconfg/ihs/ihs001/htdocs/choiceportal-d"      

    ErrorLog logs/choiceportal-d.ksdco.com-error_log                       

    CustomLog logs/choiceportal-d.ksdco.com-access_log common              

                                                                            

    SSLEnable                                                              

    SSLProtocolEnable TLSv10 TLSv11 TLSv12                                 

    KeyFile IHSKeyring SAF                                                 

    SSLServerCert choiceportal-d                                           

                                                               

    <IfModule mod_proxy.c>                                    

     ProxyRequests Off                                        

     ProxyPreserveHost On                                     

                                                               

     SSLProxyEngine On                                        

     <Proxy *>                                                

      Order allow,deny                                        

      Allow from all                                          

     </Proxy>                                                 

                                                               

     ProxyVia On                                              

                                                               

     RedirectMatch ¬/$ /ChoicePortalWeb/                      

.    ProxyPassMatch ¬/$ !                                     

     ProxyPass / https://choiceportal-d.ksdco.com:9368/       

     ProxyPassReverse / https://choiceportal-d.ksdco.com:9368/

                                                               

    </IfModule>                                               

                                                               

</VirtualHost>                                                

 

How defined in test version 9 using 8084 & SSL 444

<VirtualHost *:8084>                                             

ServerName choiceportal-d.ksdco.com                               

    ServerAlias choiceportal-d                                   

    ServerAdmin midddlware@xxxxxxx                               

    DocumentRoot "/usr/lpp/ihsconfg/IHSv9/htdocs/choiceportal-d" 

    ErrorLog logs/choiceportal-d.ksdco.com-error_log             

    CustomLog logs/choiceportal-d.ksdco.com-access_log common    

    RewriteEngine On                                             

#   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}          

    RewriteRule (.*) https://%{HTTP_HOST}%:444{REQUEST_URI}      

</VirtualHost>                                                    

                                                                  

#<VirtualHost *:443>                                             

<VirtualHost *:444>                                              

    ServerName choiceportal-d.ksdco.com                          

    ServerAlias choiceportal-d                                   

    ServerAdmin midddlware@xxxxxxx                               

    DocumentRoot "/usr/lpp/ihsconfg/IHSv9/htdocs/choiceportal-d" 

    ErrorLog logs/choiceportal-d.ksdco.com-error_log             

    CustomLog logs/choiceportal-d.ksdco.com-access_log common    

                                                                  

    SSLEnable                                                    

    SSLProtocolEnable TLSv10 TLSv11 TLSv12         

 

    KeyFile IHSKeyring SAF                                   

    SSLServerCert choiceportal-d                             

                                                              

    <IfModule mod_proxy.c>                                   

     ProxyRequests Off                                       

     ProxyPreserveHost On                                    

                                                              

     SSLProxyEngine On                                       

     <Proxy *>                                               

      Order allow,deny                                       

      Allow from all                                         

     </Proxy>                                                

                                                              

     ProxyVia On                                             

                                                              

     RedirectMatch ¬/$ /ChoicePortalWeb/                     

.    ProxyPassMatch ¬/$ !                                    

     ProxyPass / https://choiceportal-d.ksdco.com:9368/      

     ProxyPassReverse / https://choiceportal-d.ksdco.com:9368/

                                                              

    </IfModule>                                              

                                                              

</VirtualHost>                                       

 

When I try to go to http://choiceportal-d:8084, I receive  “Can’t reach this page”  “Make sure the web address http://choiceportal:8084 is correct”

No related error messages are spotted in any of the logs created.

                      


[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