Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Active Directory LDAPS deploy #30

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

DACRepair
Copy link

This adds Set-ActiveDirectoryLDAPS to the module. Since AD is opinionated (IE domain has to be correct), but the deploy requires that a set of common params be sent: I am leaving it up to the user to get right.

Usage is the same as most of the other modules, however in order to get the correct cert I would recommend this:

# Create the certificate
$dc = Get-ADDomainController -Discover
$domains = $dc.HostName, $dc.Domain

New-PACertificate -Domain $domains | Set-ActiveDirectoryLDAPS -Verbose -RemoveOldCert

@rmbolger rmbolger self-assigned this Oct 30, 2024
@rmbolger rmbolger added the enhancement New feature or request label Oct 30, 2024
@rmbolger
Copy link
Owner

Ooh, fun! Thanks @DACRepair. Let me play around with this a bit and we'll get it merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants