SSL on domain controllers

YurokLA 51 Reputation points
2020-11-18T23:22:18.963+00:00

Our internal and external domain is the same - domain.com, and for the internal users to be able to reach our website hosted externally, we installed IIS with redirection on all DCs. So when internal users type in http://domain.com they are redirected properly, but when https is used, it bombs. I believe it's because none of our DCs listen on 443, so all those https requests are dropped. My question is what is the best approach to remedy this, apart from renaming the domain?

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

Accepted answer
  1. Vicky Wang 2,736 Reputation points
    2020-11-20T08:33:45.507+00:00

    You are looking to get your DCs to support BIND via LDAPS. To do this, you will need to add a certificate to your domain controllers' Personal Certificate Store that meets the following requirements. This certificate could either be from a locally housed Certificate Authority or a Third-Party Authority.

    The LDAPS certificate is located in the Local Computer's Personal certificate store (programmatically known as the computer's MY certificate store).
    A private key that matches the certificate is present in the Local Computer's store and is correctly associated with the certificate.
    The private key must not have strong private key protection enabled.
    The Enhanced Key Usage extension includes the Server Authentication (1.3.6.1.5.5.7.3.1) object identifier (also known as OID).
    The Active Directory fully qualified domain name of the domain controller (for example, DC01.DOMAIN.COM) must appear in one of the following places: The Common Name (CN) in the Subject field. DNS entry in the Subject Alternative Name extension.
    The certificate was issued by a CA that the domain controller and the LDAPS clients trust. Trust is established by configuring the clients and the server to trust the root CA to which the issuing CA chains.
    You must use the Schannel cryptographic service provider (CSP) to generate the key.
    The above was taken from KB321051: How to enable LDAP over SSL with a third-party certification authority.

    Additional information on how to setup a local CA for using LDAPS can be found at the following article: LDAP over SSL (LDAPS) Certificate

    Once your DCs have the proper certificate installed, LDAPS communication should automatically be enabled. You can verify this with ldp.exe as you were attempting to do.

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Vicky Wang 2,736 Reputation points
    2020-11-25T07:04:26.23+00:00

    Hi,

    Just checking in to see if the information provided was helpful.

    Please let us know if you would like further assistance.

    Best Regards,
    Vicky

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.