Hi All,
I have configured apache as a reverse proxy to access the Portal over the internet and it was working fine. Now when i put this on the SSL, i'm not able to start the apache server. This is what i did:-
1. Installed the Apache using the package: "apache_2.0.59-win32-x86-no_ssl.msi" ( I couldn't find apache installer with SSL + Win32)
2. Downloaded the OpenSSL package: "Apache_2.0.59-Openssl_0.9.8d-Win32.zip"
3. Generated the certificate and key files using the following commands:-
3.1 openssl req -config openssl.cnf -new -out <name of the certificate>.csr
3.2 openssl rsa -in privkey.pem -out <name of the certificate>.key
3.3 openssl x509 -in my-server.csr -out my-server.cert -req -signkey my-server.key -days 365
4. Copied the '.key' and '.cert' files to the /conf/ssl folder
5. LoadModule ssl_module modules/mod_ssl.so -> Uncommented
6. AddModule mod_ssl.c -> Added to the httpd.conf
7. Following parameters added to httpd.conf
SSLMutex default
SSLRandomSeed startup builtin
SSLSessionCache none
SSLLog logs/SSL.log
SSLLogLevel info
SSLEngine On
SSLCertificateFile conf/ssl/my-server.cert
SSLCertificateKeyFile conf/ssl/my-server.key
8. Listen 443
9. Copy the executable files (*.exe, *.dll, *.so) from the downloaded Apache_2.0.59-Openssl_0.9.8d-Win32.zip distribution over my original Apache installation directory installed by "apache_2.0.59-win32-x86-no_ssl.msi"
10. Load Modules mod_proxy and mod_http_proxy
11. Added following parameters to the httpd.conf:-
ProxyVia on
ProxyTimeout 600
ProxyRequests Off
#proxy /irj both ways
ProxyPass /irj http://sapepd01.sap.com/irj
12. Start the Service and the following error in the error.log file:-
[Wed Jan 17 15:59:21 2007] [notice] Apache/2.0.59 (Win32) configured -- resuming normal operations
[Wed Jan 17 15:59:21 2007] [notice] Server built: Jul 27 2006 15:55:03
[Wed Jan 17 15:59:21 2007] [notice] Parent: Created child process 2128
[Wed Jan 17 15:59:21 2007] [notice] Child 2128: Child process is running
[Wed Jan 17 15:59:21 2007] [notice] Child 2128: Acquired the start mutex.
[Wed Jan 17 15:59:21 2007] [notice] Child 2128: Starting 250 worker threads.
[Wed Jan 17 16:26:26 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jan 17 16:26:26 2007] [notice] Child 2128: Exit event signaled. Child process is ending.
[Wed Jan 17 16:26:27 2007] [notice] Child 2128: Released the start mutex
[Wed Jan 17 16:26:28 2007] [notice] Child 2128: Waiting for 250 worker threads to exit.
[Wed Jan 17 16:26:28 2007] [notice] Child 2128: All worker threads have exited.
[Wed Jan 17 16:26:28 2007] [notice] Child 2128: Child process is exiting
[Wed Jan 17 16:26:28 2007] [notice] Parent: Child process exited successfully.
Any Ideas what's going wrong?
Regards
Vaib