We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Get-DLAPCert script has the following:
$OpenSSLExeInfo = Get-Item $(Get-Command openssl).Source $OpenSSLExeVersion = [version]$($OpenSSLExeInfo.VersionInfo.ProductVersion -split '-')[0]
Unfortunately, openssl version format can end in a letter, which results in an error: e.g. Version "1.1.1f" will fail.
I used the ProductVersionRaw property to return the correct/compatible value:
$OpenSSLExeVersion = [version]$($OpenSSLExeInfo.VersionInfo.ProductVersionRaw)
this will result in the correct version number being returned, and in the [version] format already:
$($OpenSSLExeInfo.VersionInfo.ProductVersionRaw) Major Minor Build Revision ----- ----- ----- -------- 1 1 1 6
P.S. Fantastic script btw. Was trying to figure out how to confirm what certificate was being used for LDAPS connections via PowerShell.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Get-DLAPCert script has the following:
Unfortunately, openssl version format can end in a letter, which results in an error: e.g. Version "1.1.1f" will fail.
I used the ProductVersionRaw property to return the correct/compatible value:
$OpenSSLExeVersion = [version]$($OpenSSLExeInfo.VersionInfo.ProductVersionRaw)
this will result in the correct version number being returned, and in the [version] format already:
P.S. Fantastic script btw. Was trying to figure out how to confirm what certificate was being used for LDAPS connections via PowerShell.
The text was updated successfully, but these errors were encountered: