Mailinglist Archive: opensuse (4208 mails)

< Previous Next >
Re: [SLE] https
  • From: steve-ss <mail@xxxxxxxxxxxx>
  • Date: Thu, 1 Jul 2004 16:58:44 +0100
  • Message-id: <200407011658.44545.mail@xxxxxxxxxxxx>
On Thursday 01 July 2004 13:08, Leendert Meyer wrote:
> On Thursday 01 July 2004 15:25, steve-ss wrote:
> > On Thursday 01 July 2004 07:20, g.lams@xxxxxxxxxx wrote:
> > > You need to put in /etc/sysconfig/apache2
> > > APACHE_SERVER_FLAGS="-D SSL"
> > >
> > > and APACHE_MODULES must contain ssl
> > > You also need to copy the various files in
> > > /etc/apache2/ssl.key/ and /etc/apache2/ssl.crt/
> > >
> > > And, if you want to use virtual host:
> > > - NameVirtualHost your_ip_address:443
> > > - In /etc/apache2/vhost.d, copy the ssl template and
> > > modify it
> > >
> > > Gaël
> >
> > Hi and thanks for the help. Still no joy. I copied the
> > certificates to /etc/apache2/ssl.key/
> > and /etc/apache2/ssl.crt/ I renamed the certificates to
> > server.key server.crt. but when I put
> > APACHE_SERVER_FLAGS="-D SSL" and do a rcapache2
> > startssl apache2 won't start. If I remove that line it
> > will start but not with ssl. Any ideas?
>
> Did you do a 'SuSEconfig --module apache2' after
> changing /etc/sysconfig/apache2 or /etc/apache2/*?
>
> Did you have a look at the log files in /var/log/apache2
> (and perhaps /var/log/{messages,warn})?
>
> Cheers,
>

Hi. No I didn't. I now have though and now and still it
won't start.

Here are the errors:

[Thu Jul 01 14:19:54 2004] [notice] Apache/2.0.49
(Linux/SuSE) configured -- resuming normal operations
[Thu Jul 01 14:20:10 2004] [notice] caught SIGTERM, shutting
down
[Thu Jul 01 14:20:15 2004] [error] Server should be
SSL-aware but has no certificate configured [Hint:
SSLCertificateFile]
[Thu Jul 01 14:20:24 2004] [error] Server should be
SSL-aware but has no certificate configured [Hint:
SSLCertificateFile]
[Thu Jul 01 14:20:34 2004] [warn] Init: Session Cache is not
configured [hint: SSLSessionCache]
[Thu Jul 01 14:20:34 2004] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec2)
[

My certificates are called:
www.kcmria.com.cert
www.kcmria.com.csr
www.kcmria.com.key

I put these into the respective directories
under /etc/apache2/ssl.crt
/etc/apache2/ssl.csr
/etc/apache2/ssl.key

Is that correct or must I do something else with them?
Thanks, Steve.



< Previous Next >