Re: Clientzertifikat
From: Carsten Kinder [MSFT] (ckinder_at_online.microsoft.com)
Date: 09/09/04
- Next message: Alex: "Re: Siemens Gigaset SE515 - Firewall einrichten"
- Previous message: Carsten Kinder [MSFT]: "Re: Dateiorder Zugriffsrechte sperren"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 07:59:45 +0200
Hallo Martin,
zum Erzeugen von Self-Signed Zertifikaten empfehle ich makecert.exe
(Beschreibung unter
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/makecert.asp).
Besonders sicher sind self-signed Zertifikate zwar nicht, aber technisch
geht's zu implementieren.
Nachfolgende eine kurze Anleitung die ich mal zusammengeschrieben habe, wie
es gehen sollte.
The following procedure creates two types of certificates. First, you will
create a "Root" certificate that can sign the SSL certificates. Once the
"Root" certificate has been created, you can create as many "End-entity"
certificates as you like. Finally, you must distribute the "Root"
certificate (but not its private key) to the computers that will connect to
your SSL server.
1. Download the most recent version of makecert.exe from
http://download.microsoft.com/download/platformsdk/update/5.131.3617.0/nt45xp/en-us/makecert.exe
2. Make makecert.exe available to the computer where you want to create
the certificates. This computer is not necessarily the computer that will
use the SSL certificate at a later stage.
3. At a command-line, run the following command as a single line to
create the "Root" certificate and the corresponding key material:
makecert -pe -n "CN=MyRoot" -ss MY -sr LocalMachine -a sha1 -sky signature
-r MyRoot.cer
In the command above, "MyRoot" is just a sample-name of the Root CA name. At
this stage, you have created the "Root" certificate and its private key. The
"Root" certificate was added to the computers personal certificate store and
is available as file "MyRoot.cer".
4. To add the "Root" certificate to the trusted root certificates of
the local computer, open the Certificates MMC Snap-In. Open the "local
computer" certificate store.
5. The "MyRoot" certificate is available in the "Personal" certificate
store. Press the <Ctrl> key and drag/drop the certificate into the "Trusted
Root Certification authorities". A warning dialog appears. Accept to add the
certificate to the trusted root store.
6. Once you have created the "Root" certificate properly, you can
create the SSL certificate and the corresponding key-material. At a
command-line, run the following command as a single line:
makecert -pe -n "CN=[DNSnameOfsslServer]" -ss MY -sr LocalMachine -a
sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1 -in MyRoot -is MY -ir
LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
MySSL.cer
In the command above, [DNSnameOfsslServer] is to be replaced withthe the
fully qualified computer name of the server that owns the certificate. Also
MyRoot is a sample name but the value of the -in parameter must match with
the name of your Root certificate as created in the previous step.
7. If you had created the certificates on a computer that does not
provide SSL, you must copy the "Root" certificate file MyRoot.cer to the SSL
computer. Then, export the SSL certificate and its key into a PFX-file and
transfer both files to the SSL computer.
8. Install the "Root" certificate into the "Trusted Root Certification
authorities" store and install the PFX file into the local machines personal
certificates store.
9. Distribute and install the "Root" certificate to all computers that
will establish secure SSL connections with this certificate.
10. If you require more SSL-certificates you don't have to create
additional Root certificates. Start at step 6 to create additional SSL
certificates.
Gruss
C-:
"Martin Kimm" <MK@LCS-Eschwege.de> wrote in message
news:d22901c48aa8$da33c060$a601280a@phx.gbl...
Habe folgendes Problem:
möchte eine Identitätsprüfung für Clients durchführen auf
einer SSL-gesicherten Website, in dem ich Zertifikate
(oder auch immer das selbe) ausgebe, auf den Clients
installiere und im IIS hinterlege. Diese müssen "self-
signed" sein. Wie um himmels willen kriege ich jetzt so
ein Zertifikat erstellt, wenn ich kein Active Directory
habe und auch keine eigene Zertifizierungsstelle? Ich
habe ein kleines Freeware-Tool gefunden und mir ein self-
signed-Zertifikat erstellt, aber der IIS ignoriert es,
evtl. genügt es irgendwelchen Anforderungen oder
Standards nicht (ich habs in die TrustList eingetragen
und der Schalter steht auf "Clientzertifikat
voraussetzen").
Für euren Beitrag schon im Voraus besten Dank
- Next message: Alex: "Re: Siemens Gigaset SE515 - Firewall einrichten"
- Previous message: Carsten Kinder [MSFT]: "Re: Dateiorder Zugriffsrechte sperren"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|