Interop Assembly for CERTPOLICYLib.dll #9
-
Hello @Sleepw4lker, thanks a lot for your efforts in developing this tool! I would like to build the policy module from source by also cross-referencing the included DLLs. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello, first of all my apologies for not responding earlier. I'm not sure if I understood your inqiry correctly. Both DLLs are provided (in binary form) within the Github repository. I assume you want to build them from scratch for security reasons. I had to modify the Interop assembly for the CERTCLILIB.dll so that TameMyCerts couls properly ready binary values from the CA. Therefore you can compile them with ilasm.exe as described in the article. But this does not apply for the CERTPOLICYLIB.dll which is unmodified. Therefore it sould be sufficient to create one with tlbimp.exe from a Windows Server having the CA role installed. The file you are looking for is called certpdef.dll (in analogy to the certxds.dll used for an exit moule as described in the article). Hope I could help, and thanks a lot for your feedback. Kind regards |
Beta Was this translation helpful? Give feedback.
-
Hello @anarabanana I've included this in the dev branch for the next version (4065ba0). You should be able to apply it easily to the current version as well. |
Beta Was this translation helpful? Give feedback.
-
Hello @Sleepw4lker, Thank you so much for your feedback! 'certpdef.dll' is indeed the file I was looking for. |
Beta Was this translation helpful? Give feedback.
Hello, first of all my apologies for not responding earlier.
I'm not sure if I understood your inqiry correctly. Both DLLs are provided (in binary form) within the Github repository. I assume you want to build them from scratch for security reasons.
I had to modify the Interop assembly for the CERTCLILIB.dll so that TameMyCerts couls properly ready binary values from the CA. Therefore you can compile them with ilasm.exe as described in the article.
But this does not apply for the CERTPOLICYLIB.dll which is unmodified. Therefore it sould be sufficient to create one with tlbimp.exe from a Windows Server having the CA role installed. The file you are looking for is called certpdef.dll (in an…