Setup Hyper-V 2012 Replica with Certificate Based Authentication

Pre requirements MakeCert is a MS certificate creation tool which generates self-singed certificates for testing purpose. We will need the makecert.exe to generate our self-singed certificates. (More Information’s could be found here Test Environment Our Test environment has two servers without a domain that mean we will use a basic Workgroup setup for this HowTo (if the two servers will be part of the domain a replica with SSL setup you could leave out Step 5). Our setup looks like the following: Hyper-V Host 1 [VMH01] (Primary) Hyper-V Host 2 [VMH02] (Secondary) 1. Creation of the root certificate In the first step we will create a root certificate that both servers can use. Run the following command on our primary Host VMH01 to create a self-signed root certificate. makecert -pe -n "cn=TestHyperVRootCA" -ss root -sr localmachine -sky signature -r "TestHyperVRootCA.cer" The command will install in the certificate into the [...]

By | 2016-07-23T14:50:24+00:00 July 23rd, 2016|Allgemein, Hyper-V, Virtualization|Comments Off on Setup Hyper-V 2012 Replica with Certificate Based Authentication

Add Server to Windows 2012 Server Manager within a Workgroup

With Windows Server 2012 you can manage multiple remote servers by using Server Manager. Servers that you may want to manage with the Server Manager can run with Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008. In this article we have a Workgroup (non-domain) environment to which we want to add multiple server via the Server Manager. First of all we look at the current TrustedHosts list to become an overview of all listed machines. Get-Item WSMan:\localhost\Client\TrustedHosts Ensure that the Windows Firewall has inbound Windows Remote Management (HTTP-In) enabled for the relevant network connection. On the Server that is running Server Manager, add the Workgroup server name to the TrustedHosts list (this is a requirement of NTLM authentication). To add  additional entries to the list of trusted hosts use the -Concatenate parameter. Set-Item WSMan:\localhost\Client\TrustedHosts -Value "SERVER1,SERVER1.local" –Force Now we can Start the Server Manager and click on [...]

By | 2016-10-22T11:39:41+00:00 May 23rd, 2016|Allgemein, Windows Server|Comments Off on Add Server to Windows 2012 Server Manager within a Workgroup