Configure LDAPS
Last updated
Last updated
Search for "Certificate Authority" in the Windows Search Function and Right click on it and select "Run as different user". Then fill in the Enterprise Admin credentials from bank\administrator
and the password Welcome01!
.
2. Open the directories and click on "Certificate Templates" and select "Manage".
3. Look for the template "Kerberos Auithentication" and select "Duplicate Template".
4. Open the tab "General" and give the template name LDAPS
and select "Public certificate Active Directory".
5. Open the tab "Request Handling" and select "Allow private key to be exported".
6. Open the tab "Subject Name" and select "User Principal Name" and "Serviec Principal Name".
7. Click on "Apply" and "OK" and the template should be created.
8. Return to "certsrv" window and right click "Certificate Templates" and select "New" and then "Certificate Template to Issue".
9. Locate the LDAPS template and select it, click "OK".
Search for mmc.exe and open it.
2. At the top click on "File" and then "Add/Remove Snap-in" .
3. Select "Certificates" and click "Add".
4. Select "Computer account"
5. Select "local computer" and click "Finish".
6. Click on "Certificates" again and on "Add". This time select "Service account"
7. Select "Local Computer" again and click "Next". Then select "Active Directory Domain Services" and click "Finish". There should be two Certificate snap-ins now:
8. In mmc.exe open the "Certificates (Local Computer)" directory --> Personal and right click on "Certificates" and select "All tasks" and click on "Request new certificate".
9. Click on "Next" and select "LDAPS" and click on "Enroll".
10. Create a new directory in the C:\
disk with the following powershell command:
11. Execute the following command to list all Certs and filter for specific information. Then note down the Thumbprint ID of the cert which has KDC authentication etc.:
12. Export the certificate with a password using the following commands and the Thumbprint:
13. In mmc.exe the new certificate will be listed here too. You can open it and check in the "details" and "Thumbprint" to check it:
14. Next copy the certificate from LocalMachine Personal store to the Active Directory Domain Services Service Account Certificate store under NTDS\Personal Certificates, using below command. Change the thumbprint accordingly:
15. Open ldp.exe and test the connection to the domain controller: