mca.sh

1999-02-28 Thread GOMEZ Henri

Hi !!!

I play with mca.sh to generate a CA cert/key and user cert/key.

Said I've got a domain called toto.org, with a web server www.toto.org

Some questions :

Since I run a dual homed machine, the FQDN is not clear. Who determine
the correct name, apache/mod_ssl or the browser ???

It's not clear for me if I must consider the web server as a user and so
have to generate a cert for him with mca ???

where is the index.txt file used in ssleay ?

During my play I saw in ssl_engine_log :

[error] SSLeay: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert
bad certificate [Hint: Subject CN in certificate not server name!?]

What does it mean ???

Thanks.

+-+
| | S.L.I.B   |
|   [_]   | 5 Place Charles BĂ©raudier |
|  (. .)  | 69428 Lyon Cedex 03   |
+-oOOo--(_)--oOOo-+
| Tel: 0472367723 |
| Henri Gomez  [EMAIL PROTECTED]  Fax: 0472367778 |
+-+


__
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: mca.sh

1999-02-28 Thread Ralf S. Engelschall

On Thu, Feb 25, 1999, GOMEZ Henri wrote:

 Since I run a dual homed machine, the FQDN is not clear. Who determine
 the correct name, apache/mod_ssl or the browser ???

The browser. Apache+mod_ssl accepts any FQDN in the certificate, of course.

 It's not clear for me if I must consider the web server as a user and so
 have to generate a cert for him with mca ???

Depends on your point of view. Usually you don't use mca to create a server
cert. Use `make certificate' for this.
 
 where is the index.txt file used in ssleay ?

index.txt? That's generated file from ssleay ca AFAIK.
You don't need it with mca.sh...

 During my play I saw in ssl_engine_log :
 
 [error] SSLeay: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert
 bad certificate [Hint: Subject CN in certificate not server name!?]
 
 What does it mean ???

That the Common Name (CN) in the cert perhaps doesn't match the FQDN in the
used URL to access the cite. But that's only _one_ possibility for this alert,
of course. It can be also that the certificate is incorrect in any way.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]