I installed Apache apache_1.3.19+ssl_1.44 on Linux 6.2 server.
I have generated a private key, Certificate signing request (CSR) for test purpose.
I can't get the apache ssl server running.
1st question.
Should the conf file be httpd.conf or httpsd.conf ?
When httpd.conf is missing, when starting apache, it looks for it.
Why is it looking for httpd.conf when a default httpsd.conf was present ?
/usr/local/apache/bin/httpsdctl start
2nd question.
When starting the apache-ssl it ask for PEM pass phrase, which it accepts successfully.
And says
Launching... /usr/local/apache/bin/gcache
pid=1777
/usr/local/apache/bin/httpsdctl start: httpsd started
But i can't see the process running at all.
On giving :
/usr/local/apache/bin/httpsdctl status
I get :
Looking up localhost.
Making HTTP connection to localhost.
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
When checking from browser
https://nn.nn.nn.nn/index.php
I can't get the output to see on the browser.
Settings in httpd.conf are :
port 80
port 443
Listen 443
ExtendedStatus On
DocumentRoot "/home/httpd/html"
SSL related
SSLCacheServerPath /usr/local/apache/bin/gcache
SSLCacheServerPort /var/cache/httpsd/domain_name.com.cache.socket
SSLSessionCacheTimeout 300
SSLCertificateKeyFile /usr/local/ssl/private/domain_name.com.key
SSLCertificateFile /usr/local/ssl/certs/domain_name.com.crt
Virtual host
<VirtualHost nn.nn.nn.nn:443>
ServerName domain_name.com
ServerAdmin webmaster@domain_name.com
DocumentRoot /home/httpd/html
ServerAlias domain_name.com
ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
TransferLog /usr/local/apache/logs/domain_name.com_access.log
ErrorLog /usr/local/apache/logs/domain_name.com_error.log
Port 443
SSLVerifyClient 0
SSLVerifyDepth 10
</VirtualHost>
What am i missing here ?
please help me, thank you.
Brij.