From: "Norman Zhang" <[EMAIL PROTECTED]>
nzhang> But why is the default certificate that came with Linux
nzhang> Mandrake 8.0 box has the private key in it? And it works;
nzhang> however, if use the ones that I created myself, the connection
nzhang> times out after a long delay.
Ah, the file that comes with Mandrake contains a certificate and the
corresponding private key. Many incorrectly refers to such a file as
"the certificate". A certificate proper is, however, only what you
find between these lines:
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
While the private key proper is what you find between the following
lines:
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
The file that you're talking about is a concatenation of these two
things. It's quite practical to do it this way, since a server needs
both anyway.
(I assume that we're talking about PEM-formated certificates and keys
here, BTW)
--
Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]