Microsoft Excel
--
Questions
--
Followers
Top Experts
Im using the advanced certificate request option with the following options selected:
Certificate Template:
 Code Signing
Key Options:
 Create a new key set
 Key size 1024
 Automatic key container name
Additional Options:
 Request Format: CMC
 Hash: SHA-1
At the end of the request the process installs the certificate in the PC that Im using, but then I have to export that certificate as I need to use it to sign code in other PCs, and when I use the export option in the certificates tab from IE, I can select the yes, export the private key option (see attached picture).
This effectivily prevents me from using the exported certificate to sign anything in any other PC, because when I try to use the exported certificate to sign code, it comes back with the following error "There was a problem with the digital certificate. The VBA project could not be signed. The signature will be discarded".
My question:
How can I generate a certificate using Microsoft Certificate Services that allows me to export the private key?
PrivateKeyIssue.jpg
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
-D-
I was reviewing the process to create the certificate, and as you know in Microsoft Certificate Services this is done through a website (http://myserver/certsrv). At the end of the process when the certificate is created it just gives me a link that says "install certificate". What I have been doing is clicking on that link as the only way to install the new certificate.
Now if I'm not mistaken what you propose is not to click on this link, but then another question arises:
If I don't get the certificate through this link How can I get the certificate out of Microsoft Certificate Services Server??






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Happy Computing!
-D-






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Microsoft Excel
--
Questions
--
Followers
Top Experts
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.