Certificate error.

Grant grant at conprojan.com.au
Wed Jan 17 21:43:55 GMT 2001


I used the instructions to create a server certificate on
http://www.apache-ssl.org/#FAQ. It seems to work fine for Apache. Is there
something different you have to do for Samba?

Now I've got my server installed, how do I create a test certificate?

Step one - create the key and request:


  openssl req -new > new.cert.csr

Step two - remove the passphrase from the key (optional):

  openssl rsa -in privkey.pem -out new.cert.key

Step three - convert request into signed cert:

   openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey
new.cert.key -days 365

The Apache-SSL directives that you need to use the resulting cert are:

  SSLCertificateFile /path/to/certs/new.cert.cert
  SSLCertificateKeyFile /path/to/certs/new.cert.key

On Tue, 16 Jan 2001, Gerald Carter wrote:

> Grant wrote:
> > 
> > I'm trying to get SSL to work cleanly but it 
> > keeps complaining about the certificate with the 
> > unknown error 18.
> 
> Hmmm....I;ve not played with Samba's SSL code lately.
> How did you create the certificate?
> 
> 
> 
> 
> 
> 
> 
> Cheers, jerry
> ----------------------------------------------------------------------
>    /\  Gerald (Jerry) Carter                     Professional Services
>  \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
>        http://www.samba.org/       SAMBA Team          jerry at samba.org
>        http://www.plainjoe.org/                     jerry at plainjoe.org
> 
>        "...a hundred billion castaways looking for a home."
>                                 - Sting "Message in a Bottle" ( 1979 )
> 
> 





More information about the samba mailing list