Sleepw4lker/TameMyCerts

TameMyCerts.dll not found on install

georg-x opened this issue · 3 comments

We tried to install the package as described in the readme:
.\Install.ps1 -PolicyDirectory d:\PKIDATA\Policy
Installation was started as Administrator.
Which directly leads to this errors. Nothing in the Directory. ADCS not starting up anymore.

Copy-Item : Cannot find path 'D:\user\TameMyCerts-main\TameMyCerts\TameMyCerts.dll' because it does not exist.
At D:\user\TameMyCerts-main\TameMyCerts\install.ps1:173 char:13
+             Copy-Item -Path $SourcePath -Destination $Path -Force
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (D:\user\TameM...TameMyCerts.dll:String) [Copy-Item], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

Copy-Item : Cannot find path 'D:\user\TameMyCerts-main\TameMyCerts\TameMyCerts.dll' because it does not exist.
At D:\user\TameMyCerts-main\TameMyCerts\install.ps1:173 char:13
+             Copy-Item -Path $SourcePath -Destination $Path -Force
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (D:\user\TameM...TameMyCerts.dll:String) [Copy-Item], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand


Success Message
------- -------
   True The operation was successful.

CA was fixed by reenabling the original Policy in the Registry.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CertSvc\Configuration\CANAME\PolicyModules]
"Active"="CertificateAuthority_MicrosoftDefault.Policy"

image
Problem with missing dll still exists.

Hi georg. Seems you cloned the git repository (which only contains the source code) instead of downloading the binary package (which contains a signed version of the DLL - see releases). I'll ensure that the install script won't do anything when the DLL is not available in the next release ;). Kind regards, and feel free to contact me if you need further assistance.

Thank you for your quick reply. You're right, I fetched the ZIP from GIT repo...
I'll retry with the release file.
A check would be nice...