Re: Private & Public Key storage location
- From: "Bernard Cheah [MVP]" <qbernard@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 14:29:34 +0800
Alright -
a) when client connect to the SSL site, this is what's going on. Keys are
NOT sent, it just uses to encrypt and decrypt. client use the public key to
encrypt and server uses its private keys to decode.
Description of the Secure Sockets Layer (SSL) Handshake
http://support.microsoft.com/?id=257591
b) CA will need to sign it and the generate it. and they have to be trusted.
Keyword is 'trusted'. When you got the server cert file, it containts both
public and private keys. You will see 'You have the private key that
corresponds to this certiticate' when you view the cert.
c) Yes, and if that's the server cert issued from CA for your host server
authentication, it will has the private key as well. not to forgot some
other detail like the key usage (server or client auth), version, etc.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Vicky" <Vicky@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:10DCF32E-7956-4260-937A-255FA1E97B2E@xxxxxxxxxxxxxxxx
Dear Bernard,
As you say " To me, the issued cert from a trusted CA, contains both
public/private keys."
I would like to ask the following.
A] If the cert from a CA contains both public/private key & the cert is
then
installed for your website, it will be sent to all the clients who connect
to
that website. This way, the private key of the website is revealed to the
client & the purpose of achieving transaction level security is defeated.
B] If the CA is going to generate/derive/create a private key for my web
site, then what is private about the private key? I think the private key
for
my website is & should only be know to my website & not to anyone else,
not
even the CA.
C] I believe that a website cert contains the following important
components
embedded (Correct me if I am wrong)
1] Issued to 2] issued by 3] validity 4] purpose 5] digital signature of
CA
6] public key of the website
Regards
Vicky
"Bernard Cheah [MVP]" wrote:
Well, I guessed it all depends on the discussion context.
Typically - CSR is encoded ASCII text with requested identification of
the
computer, you can 'said' that public key is there, yes it is there, you
can
also 'said' private key is also there, coz it will 'derive' or 'generate'
from it by the CA.
In normal context, typically CSR don't associate with public or private
keys, because you can't really use it yet.
It will become 'valid' once the CA has signed and generate the real
certificate, then the concept of public/private key popup.
I hope I didn't confuse you, I mean you can't really don't anything with
the
so called 'keys' with the CSR.
Keys is only valid when the cert is issued. now -
A] if the website generates a Keypair of its own before it creates the
CSR
that's part of the CSR process, to the point here the key is useless
until the cert is installed
B] How can the CSR be encrypted by Public/private key both at the same
time?
it is not encrypted, just encode.
C] Is it that the CSR contains both the private & public keys of the
website?
again depend on how you actually see it. To me, the issued cert from a
trusted CA, contains both public/private keys.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Vicky" <Vicky@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B3052C4A-3501-4B71-8FE5-515089606B2C@xxxxxxxxxxxxxxxx
Dear Bernard,
I have read all that stuff at the links you are refering to.
The pages on MS wesite lack clarity & I have wrote a comment to them
such
as
1] Under the section
"Obtain a Certificate"
"......The CSR is simply an encrypted text message that is encrypted
with
a
public/private key pair."
Now could it be made clear
A] if the website generates a Keypair of its own before it creates the
CSR
B] How can the CSR be encrypted by Public/private key both at the same
time?
C] Is it that the CSR contains both the private & public keys of the
website?
What is true & presice ?
"Bernard Cheah [MVP]" wrote:
Read -
How To Enable SSL for All Customers Who Interact with Your Web Site in
Internet Information Services
http://support.microsoft.com/?id=298805
that's why typically - we have trusted CA list in browser that we can
trust.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Vicky" <Vicky@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:90DB2326-7C0B-4457-91CD-2E7ABC1828FB@xxxxxxxxxxxxxxxx
I am shocked to here that it is the CA who generates the Private &
public
key
(Key Pair) for my own website.
You seem to have shattered my understanding of the whole process.
How
can
my
private ley be a private affair if the CA generates it for me (my
website).
I think I need to build more clarity of the whole process. Maybe I
have
wrong ideas.
"Bernard Cheah [MVP]" wrote:
You only send the request file to CA. CA will then issue you the
cert
with
both private and public key.
To back it up, export the key (including private) and safe guard
the
file,
refer
HOW TO: Back Up a Server Certificate in Internet Information
Services
5.0
http://support.microsoft.com/?id=232136
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Vicky" <Vicky@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:322F8088-D472-487F-8F30-F1616EFCD995@xxxxxxxxxxxxxxxx
hi,
when I configure IIS server on a windows 2000 or 2003 server to
use
the
ssl
protocol, I have to make a certificate request, during which the
web
site
generates a Key pair (public & private).
My public key is sent to the CA alomg with my certificate
request.
I wish to know where is my web site key pair stored on my local
system.
Can
I also see the public key & is it possible to have both this keys
copied
to a
desired location as a backup.
Vicky
.
- Follow-Ups:
- Re: Private & Public Key storage location
- From: Vicky
- Re: Private & Public Key storage location
- References:
- Re: Private & Public Key storage location
- From: Bernard Cheah [MVP]
- Re: Private & Public Key storage location
- From: Bernard Cheah [MVP]
- Re: Private & Public Key storage location
- From: Vicky
- Re: Private & Public Key storage location
- From: Bernard Cheah [MVP]
- Re: Private & Public Key storage location
- From: Vicky
- Re: Private & Public Key storage location
- Prev by Date: Re: integrated authentication
- Next by Date: Re: Private & Public Key storage location
- Previous by thread: Re: Private & Public Key storage location
- Next by thread: Re: Private & Public Key storage location
- Index(es):
Relevant Pages
|