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.

    Danny,

    I know that. There are thousands of Apache related questions being asked here. It is closely related to PHP.

    I am configuring PHP along with Apache-SSL, on my server, but got stuck up on Apache-SSL installation.

    I have looked in
    http://www.apache-ssl.org/

    Couldn't get the right documentation for installation and configuration,that's why asked help here.

    Easy for you to say "This is not an Apache forum.", but go and have a look at the forums, how many Apache questions are asked and "well" answered too.

    NHF

    Brij.

      2 months later

      check out the user and group setting in the httpd.conf. make sure they are appropriate to run the www server.

      User/Group: The name (or #number) of the user/group to run httpd as.

      . On SCO (ODT 3) use "User nouser" and "Group nogroup".

      . On HPUX you may not be able to use shared memory as nobody, and the

      suggested workaround is to create a user www and use that user.

      NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)

      when the value of (unsigned)Group is above 60000;

      don't use Group nobody on these systems!

      #
      User apache
      Group apache

      #

      p.s.
      always willing to help a brother out...regardless of what danny boy says.

        Write a Reply...