Can't sign executable

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 11 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Smartineau
Posts: 5
Last visit: Sun Jan 21, 2018 7:57 pm

Can't sign executable

Post by Smartineau »

I'm running into an exception occurred error when trying to sign a exe after packaging. The cert was purchased from Godaddy which the instructions given was to convert the .Pem file to a .P12 with password. Then rename the .P12 to .PFX because the certificate process in Powershell Stupio 2012 only wants a .pfx. However this doesn't seem to be working. Any thoughts?
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Can't sign executable

Post by davidc »

Please provide the following information:OS InformationPowerShell Studio versionThe error message produced when signing.Note: The certificate must support code signing.David(Topic was move to the correct forum)
David
SAPIEN Technologies, Inc.
User avatar
Smartineau
Posts: 5
Last visit: Sun Jan 21, 2018 7:57 pm

Can't sign executable

Post by Smartineau »

Windows 7 32bitPowershell Studio 2012 v3.0.4 The certificate purchased was for code signing Error MSG:An exception occurred while signing the file
ERROR: Unable to sign executable file
Package completedTHanks!
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Can't sign executable

Post by davidc »

Are you able to sign your ps1 scripts using the same pfx file? David
David
SAPIEN Technologies, Inc.
User avatar
Smartineau
Posts: 5
Last visit: Sun Jan 21, 2018 7:57 pm

Can't sign executable

Post by Smartineau »

No, I'm getting the same error msg.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Can't sign executable

Post by davidc »

We are looking into it. In the meantime, have you tried adding the pfx to your certificate store? If you don't specify a pfx in the packager settings it will use first one found in the certificate store. David
David
SAPIEN Technologies, Inc.
User avatar
Smartineau
Posts: 5
Last visit: Sun Jan 21, 2018 7:57 pm

Can't sign executable

Post by Smartineau »

The P12 file which contain the .pfx is in the personal store on my machine
User avatar
Smartineau
Posts: 5
Last visit: Sun Jan 21, 2018 7:57 pm

Can't sign executable

Post by Smartineau »

After updating to 3.0.8 the signing probelm was resolved. Thanks you!
This topic is 11 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.