[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problem with connecting to ldaps



On Tue, 12 Jun 2001, Jean-Christian Hassler wrote:

> I have exactly the same problem but I can't manage to create a valid
> "localhost" certificate, can you give me more detail on you certificate?
> Here are the information I gave my certificate :
>
> Country Name (2 letter code) [AU]:FR
> State or Province Name (full name) [Some-State]:.
> Locality Name (eg, city) []:Lyon
> Organization Name (eg, company) [Internet Widgits Pty Ltd]:Hexaflux
> Organizational Unit Name (eg, section) []:SERD
> Common Name (eg, YOUR name) []:localhost
> Email Address []:qsdf@qsdf.fr
>

I created my cert using the instructions given in the HOWTO document.
Assuming OpenSSL, the command is:

openssl req -new -x509 -nodes -out server.pem -keyout server.pem -days 365

I entered localhost for the common name and the resulting certificate
worked for me.

Allan