Skip to content

Conversation

ksmith3036
Copy link

Get-NDESOTP:
Changed notification to include information about NTLM, since it seems to be the authentication method used. Confirmed using Wireshark.

Added Get-NDESCACertificate, capable of downloading CA certificates from the NDES server, and optionally importing them into Trusted Auth Root container.

Get-NDESCertificate:
Added support for SCEPDispositionPending, by waiting and retrying retrieval of the certificate.
Added printing of TransactionId, since if not waiting for approval, an enrollment might be completed using certreq.exe when the TransactionId is known.
If enrollment fails on the NDES server, the locally created Private Key is deleted, to avoid having dangling Private Keys. Especially important when using hardware stores for keys, like the TPM.

…thentication is done using NTLM, and not in cleartext, so fixed a misleading notification
…rieval of the certificate.

Added printing of TransactionId, since if not waiting for approval, the enrollment might be completed using certreq.exe when the TransactionId is known.
…rom the NDES server, and optionally importing them into Trusted Auth Root container
@ksmith3036
Copy link
Author

Please feel free to use any or none of the changes!
Your product saved me a lot of work, so hopefully I am able to contribute some of my extensions. I am a veteran programmer, but PowerShell isn't my primary language, so please feel free to improve syntax wherever it might be needed.

… message: "The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant