List of Windows DCs

Original posts: https://stackoverflow.com/questions/354037/how-do-i-find-out-which-computer-is-the-domain-controller-in-windows-programmati Your own logon server: Own logon server with C#: List of all domain controllers in particular domain: List of all domain controllers computer is connected to:

Create SSL certificate for testing

makecert comes (for instance) with Visual Studio (it’s deprecated, but still useful). Open a VS command line (as admin). Sample command line for a test certificate: -r: self-signed -pe: private key exportable -n: Followed by name of publisher’s certificate (“CN=…”) -m: duration in months -sky: Subject’s key specification (here: Exchange) -ss: Name of the subject’s certificate store …