Zum Inhalt springen

Schlagwort: transfer

SSL Zertifikat von einem Server auf einen anderen transferieren

Zum verschieben/kopieren eines Zertifikates (inkl. Private Key) auf einen anderen Server bitte wie folgt vorgehen:
Create an MMC Snap-in for Managing Certificates:

1. Go to Start > Run.
2. Type in „mmc“.
3. Click „OK“.
4. From the menu bar, select Console > Add/Remove Snap-in.
5. Click „Add“.
6. Select „Certificates“ from the list of snap-ins.
7. Click „Add“.
8. Select „Computer account“.
9. Click „Next“.
10. Select „Local computer (the computer this console is running on)“.
11. Click „Finish“.
12. Click „Close“ on the snap-in list window.
13. Click „OK“ on the „Add/Remove Snap-in“ window.

Export the certificate (with Private Key):

1. In the left pane, click on „Certificates“.
2. From the right pane, click on „Personal“.
3. Click on „Certificates“.
4. Right-click on the certificate.
5. Select All Tasks > Export.
6. After the Certificate Export Wizard starts, click „Next“.
7. On the „Export Private Key page“, click „Yes, export the private key“, and then click „Next“.
8. On the „Export File Format“ page, select „Include all certificates in the certification path if possible“ and do not select the „require strong encryption“ check box, and then click „Next“.
9. Choose a password to protect the .PFX file. You will need to enter the same password twice to ensure that the password is typed correctly.
10. Click „Next“.
11. Choose the file name you want to save this as. Do not include an extension in your file name; the wizard will automatically add the .PFX extension for you.
12. Click „Next“, and then read the summary. Pay special attention to where the file is being saved to. If you are sure the information is correct, choose „Finish“.
You now have a .PFX file containing you server certificate and its corresponding private key. Please backup this file. You may want to move it to a floppy disk . Keep in mind, if you run a backup on the server, this file may be saved in that backup if it is still on the server.

Import the certificate (with private key):

After the certificate has been exported, you must import the certificate to the new computer’s Personal certificate store. To import the certificate to the computer’s Personal certificate store:

1. Perform the steps to create a MMC Snap-in for Managing Certificates outlined above.
2. In the left pane, click on „Certificates“.
3. From the right pane, click on „Personal“.
4. Click on „Certificates“.
5. Right-click on the certificate.
6. Select All Tasks > Import.
7. When the Certificate Import Wizard starts, click „Next“.
8. On the „File to Import“ page, type the complete path to the file or click the „Browse“ button to navigate to the file name of the certificate you exported, and click „Next“.
9. Enter the password you gave the .PFX file when you created it. Be sure the „Mark the key as exportable“ option is selected if you want to be able to export the key pair again from this computer.
10. On the „Certificate Store“ page, click „Place all certificates in the following store“, confirm that „Personal“ is selected as the store, and then click „Next“.
11. On the „Completing the Certificate Import Wizard“ page, click „Finish“.
12. Click „OK“.

Assign the certificate to your Web site:

1. Open the Internet Services Manager (Start > Programs > Administrative Tools)
2. Right-click on the Web site you want to install the certificate on.
3. Select „Properties“.
4. Click the „Directory Security“ tab.
5. Under the „Secure Communications“ section, click „Server Certificate“.
6. This will start the Web Site Certificate Wizard. Click „Next“.
7. Choose the “ replace the current certificate“ option and click „Next“.
8. Highlight your Web server certificate (denoted by the common name), and then click „Next“.
9. You will now see a summary screen showing you all the details about the certificate you are installing. Be sure that this information is correct or you may have problems using SSL or TLS in HTTP communications.
10. Click Next, and then click OK to exit the wizard.

Note: Under the „Web Site“ tab, make sure that the secure port 443 is enabled and that an IP address has been assigned.

The Microsoft articles for the above instructions can be found at the following URLs:

To Export: http://support.microsoft.com/default.aspx?scid=kb;EN-US;232136
To Import: http://support.microsoft.com/default.aspx?scid=kb;EN-US;232137

Kommentare geschlossen

ActiveDirectory Domain Controller oder einzelne FSMO Rollen transferieren

Auf einem Active Directory Domain Controller gibt es fünf Rollen. Diese Rollen sind einfach per Management Console zu bearbeiten oder auf andere Domain Controller zu verschieben. Wer lieber per Konsole arbeitet kann die Rollen auch mit dem Tool NTDSUTIL verschieben.

Falls aber ein DomainController nicht mehr verfügbar ist (Disaster Recovery) so bleibt nur der Einsatz des NTDSUTIL Tools. Hier ist anstelle von „transfer“, „seize“ zu gebrauchen. „seize pdc“ überschreibt die Infos im Active Directory und per sofort ist der neue Server Pirmary Domain Controller.

FSMO Rollen eines AD Master Servers auf einen anderen Server transferien kann man mit dem Tool NTDSUTIL.

1 ) Installation der Windows Support Tools
2 ) öffnen von NTDSUTIL
3 ) roles
4 ) connections
5 ) connect to server SERVER01 (neuer DC)
6) quit
7 ) transfer rid master
8 ) transfer pdc
9 ) transfer infrastructure master
10 ) transfer schema master
11 ) transfer naming master
12 ) quit

Dies sind die 5 FSMO Rollen:

* Schema master – Forest-wide and one per forest.
* Domain naming master – Forest-wide and one per forest.
* RID master – Domain-specific and one for each domain.
* PDC – PDC Emulator is domain-specific and one for each domain.
* Infrastructure master – Domain-specific and one for each domain.

So sieht ein Beispiel aus:

C:\Users\administrator.DOMAIN>ntdsutil
 ntdsutil: roles
 fsmo maintenance: connections
 server connections: connect to server vsrvdc03
 Bindung mit "vsrvdc03" ...
 Eine Verbindung mit "vsrvdc03" wurde unter Verwendung der Benutzerinformationen
 des lokal angemeldeten Benutzers wurde hergestellt.
 server connections: quit
 fsmo maintenance: ?
? - Zeigt diese Hilfeinformationen an.
 Connections - Verbindung mit einer bestimmten AD DC/LDS-Instanz herstellen
 Help - Zeigt diese Hilfeinformationen an.
 Quit - Zum vorherigen Menü wechseln
 Seize infrastructure master - Funktion der Infrastruktur auf dem verbundenen Server überschreiben
 Seize naming master - Überschreibt die Namensmasterfunktion auf dem verbundenen Server.
 Seize PDC - Funktion des primären Domänencontrollers auf dem verbundenen Server überschreiben
 Seize RID master - Funktion der RID auf dem verbundenen Server überschreiben
 Seize schema master - Funktion des Schemas auf dem verbundenen Server überschreiben
 Select operation target - Standorte, Server, Domänen, Funktionen und Namenskontexte wählen
 Transfer infrastructure master - Den verbundenen Server zum Infrastrukturmaster machen
 Transfer naming master - Legt den verbundenen Server als den Namensmaster fest.
 Transfer PDC - Den verbundenen Server zum primären Domänencontroller machen
 Transfer RID master - Den verbundenen Server zum RID-Master machen
 Transfer schema master - Den verbundenen Server zum Schemamaster machen
fsmo maintenance: transfer rid master
 Server "vsrvdc03" kennt 5 Funktionen.
 Schema - CN=NTDS Settings,CN=SRVBLC01,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 Namensmaster - CN=NTDS Settings,CN=SRVBLC01,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 PDC - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 RID - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 Infrastruktur - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
fsmo maintenance: transfer naming master
 Server "vsrvdc03" kennt 5 Funktionen.
 Schema - CN=NTDS Settings,CN=SRVBLC01,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 Namensmaster - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 PDC - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 RID - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 Infrastruktur - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
fsmo maintenance: transfer schema master
 Server "vsrvdc03" kennt 5 Funktionen.
 Schema - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 Namensmaster - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 PDC - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 RID - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
 Infrastruktur - CN=NTDS Settings,CN=VSRVDC03,CN=Servers,CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=DOMAIN,DC=local
fsmo maintenance:quit

 

Überprüfen kann man die Masterserver mit dem Befehl „netdom query fsmo“

C:\Users\administrator>netdom query fsmo
Schemamaster               vsrvdc03.intern.xxx.local
Domänennamen-Master        vsrvdc03.intern.xxx.local
PDC                        vsrvdc03.intern.xxx.local
RID-Pool-Manager           vsrvdc03.intern.xxx.local
Infrastrukturmaster        vsrvdc03.intern.xxx.local
Der Befehl wurde ausgeführt.

 

Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller.

KB Artikel: 255504

http://support.microsoft.com/default.aspx?scid=kb;EN-US;255504

Weiter Infos: http://www.petri.co.il/seizing_fsmo_roles.htm oder http://blog.dikmenoglu.de/Die+FSMORollen+Verschieben.aspx

Kommentare geschlossen
Wir benutzen Cookies um die Funktionalität der Webseite zu gewährleisten. Durch Deinen Besuch stimmst Du dem zu.