Code signing, unknown error

I have a folder full of PS1, PSM1 and VBS files that all sign fine. And I have one PS1 that fails with "UnknownError". I have created a whole new file and copied the code in, so it seems it is perhaps the actual code, not the file? Does that make
any sense? 
And, is there any way to get Set-AuthenticodeSignature to report something more meaningful than UnknownError?
Thanks!
Gordon

Suspected to be an encoding error.
Refer this post
http://blogs.msdn.com/b/vijay/archive/2010/07/13/quot-set-authenticodesignature-quot-returns-unknown-error-while-registering-the-script-with-a-certificate.aspx
Regards Chen V [MCTS SharePoint 2010]

Similar Messages

  • Code signing cert error using Digicert - Unable to build a valid certificate chain for the signer

    Steps to fix this error on code signing adobe air using .p12 cert from Digicert - Unable to build a valid certificate chain for the signer
    a. Open Firefox and browse to https://www.digicert.com/digicert-root-certificates.htm
    b. On the middle of the page, download -
    DigiCert Assured ID Code Signing CA-1
    Valid until: 10/Feb/2026
    Serial #: 07:F4:73:6F:AF:EF:40:8A:1F:66:40:F2:65:D1:0A:C1
    Thumbprint: B170A10819BEA936905D719E643399783E1F4567
    Download
    c. Install the cert in Firefox
    d. Once done, export again the code signing cert from digicert, through (click Firefox -> Preferences -> View Certificates -> HIghlight the digicert code signing cert -> click Backup)
    e. Done, the newly exported file should now have the valid certificate chain and that should fix the error "Unable to build a valid certificate chain for the signer"
    Even though this is from Digicert, this should also work for other Certificate Authority providers assuming you download your provider's root cert for code signing.
    Regards,
    Reigner S. Yrastorza

    Are you talking about AIR Help produced by RoboHelp or an AIR application that you are creating?
    If the latter, please see the notice at http://forums.adobe.com/community/robohelp/airhelp
    If you are using RoboHelp, which version?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • When i connect ipod to itunes i get error code oxe8000001 unknown error

    When I connect my Ipod touch to Itunes I get error code oxe8000001 ( unable to connect due to unknown error)  Computer says it recognizes Ipod and drivers are working properly.  Is anyone else having this problem and how did you fix it?

    Did you try a different cable as suggested?
    Can you try another computer as a test?
    The part onlockdown file should not pertain to yu since that is for error:
    0xE800000a

  • HT1766 I was halfway through downloading iOs7 when it froze, so I turned it off and now it is in the recovery mode and says to restore it. I tried to restore it and it comes up with the code "An unknown error occured (3194)" What can I do?

    I was halfway updating my phone to iOs7 when it froze halfway through where it shows the apple symbol. So I turned it off and now it says that I have to connect to iTunes. So I did and it said it was in the recovery mode and should be restored. I restored it and then it come up with a message that says "iPhone cannot be restored. An unknown error occured (3194) What can i do to fix it? Please!

    vTanny wrote:
    ..."iPhone cannot be restored. An unknown error occured (3194)
    Please see the  More Like This  section on the right.

  • Using App Store when downloading app I enter password and get unknown error

    i get no code, just unknown error when I put in my Apple ID password When downloading game in the App Store. Double checked password online on apple account, password entered is correct. What can I do to resolve this problem?

    What you are telling me is contradictory information. So you will have to start over and give us proper details. One can not download Leopard for example. Or even Snow Leopard.
    Can you also give me a screen shot showing me this exact error message on your system?

  • Getting "an unknown error occurred 3194" error

    I am trying to restore my iPhone 3gs with iOS 3.0.1! I want to restore with this version of iOS only. I am also getting the same error code "an unknown error occurred 3194". Tried using tinyumberilla, tried it by doing force shutdown, recoverymode restore and all the ways mentioned in discussions forum. But no luck
    Please some body help! Thanks in advance...

    iTunes error 3194 can be caused by a variety of issues. The most common solution is updating iTunes. However, if you are currently running the latest version of iTunes, you can try the other solutions posted here. Hope this helps!

  • TS3694 MY IPHONE 4S WON'T SWITCH ON APPLE SIGN JUST KEEPS FLASHING,TRIED RESTORING IT THROUGH ITUNES BUT SAYS ITS IN RECOVERY MODE AND UNKNOWN ERROR SO CANNOT RESTORE CODE 3194

    MY IPHONE 4S WONT SWITCH ON THE APPLE SIGN JUST KEEPS FLASHING ITS 4 MONTHS OLD AND HASNT BEEN DAMAGED HAD ABOUT A QUARTER OF CHARGE AND JUST WENT OFF TRIED RESETING BY HOLDING HOME AND LOCK KEY, NO LOOK, TRIED DOING IT THROUGH ITUNES, IT SAYS ITS IN RECOVERY MODE AND WILL ERASE ALL DATA AND RESET, THEN SAYS IT CANT BE BECAUSE OF AN UNKNOWN ERROR CODE3194, PLEASE HELP!

    Stop using caps then I'll read your post.

  • Unknown error while signing in

    Firefox 3.6.13 + Sync 1.7
    Entered username and password okay.
    Received the sync key.
    While trying to connect I get an "unknown error" displayed in red in the preference dialogue,
    or
    "Error While Signing In" when I hit the Connect button at lower right corner of Firefox, if I hit that button I get "Sync encountered an error while connecting: Unknown error. Please try again."
    This is from a home wireless broadband account, there are not any firewalls in place, and using NAT.
    Thanks.

    I noticed this error in the JS console:
    Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///home/XXX/.mozilla/firefox/9da8ohi4.default/extensions/%7B340c2bbc-ce74-4362-90b5-7c26312808ef%7D/crypto-modules/WeaveCrypto.js :: <TOP_LEVEL> :: line 45" data: no]

  • Getting an "unknown error' when trying to sign into iTunes Store

    When I try to sign into the iTunes store, it is giving me an "Unknown Error" message, without an error code or anything. I have tried restarting the computer and that didn't help. Any ideas on how to fix this issue?
    Windows 8
    iTunes 11
    Thanks

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • "Unknown error : Support information ; Security Code - 359"

    I've got a user who is attempting to input his digital signature however upon doing so he receives the error message "Unknown error : Support information ; Security Code - 359"
    Does any one eccountered this problem and knows how to fix it?

    I think that you may have the answer already, contact iTunes Store Support. I see more users posting about purchasing problems with that game than I have ever seen with any other game or App since I have been participating here over two and a half years ago.
    Email iTunes Store Support and seek their help.
    https://expresslane.apple.com/Issues.action
    If you really want to try something other than contacting support, try signing out of your ID, restart the iPad and sign into your ID again. Then try to update the information again. I do believe that you will have to contact iTunes Store Support in order to resolve this.

  • TS1368 cant sign out or into itunes store without getting an "unknown error 0x800B0101" please help!!

    i cannot sign out or into my account, but the store still remembers my name! i keep getting "unknown error 0x800B0101" no advice relative to that code has worked thus far, im extremely frustrated

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • ITunes won't allow me to download anything. I get unknown error code 5002

    ITunes won't allow me to download anything. I get unknown error code 5002... what do I do?
    I am entirely updated.
    I have rebooted.
    I have exhausted this support website....
    help.

    I quote:
    This alert is often the result of an issue with verifying your billing.
    Quit iTunes.
    Open iTunes.
    Test the issue.
    If it persists, sign in to store.apple.com using your iTunes account
    Click on Change account information
    Modify or remove your credit card information.
    Click Continue.
    Test the issue.

  • I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. Why?

    I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. How do I solve this problem?

    Make sure you have the correct country selected. Click the round flag icon bottom right side of the App Store window.

  • HT201303 An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...

    An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...

    urgh... just noticed my previous post said i have mountain lion... i meant that i have snow leopard.  no idea why i messed that up!
    anyway, i just tried reinstalling snow leopard from the usb key that came with the computer. Then, I installed software updates until it told me there were no more updates. After that, I tried the app store again, and it still is giving me the unknown error. really irked by that. may have to take it back to the apple store yet again, to see if i can figure out why the app store won't work.

  • Google Apps account now showing Unknown Error when trying to sign in

    This is a post I made over at webosnation.com, but no one knows what's going on over there (but a handful of people are having the same problem).
    For some reason my main email account has decided to fly off a cliff on both my FrankenPre2 and my TouchPad. The things I've tried from searching around the net:
    -Changing my password
    -Making sure the new password does NOT use any special characters
    -Removing the account from my Pre and re-adding it
    -Disabling multiple sign-on from the Google side (I had it linked to the account I use for Google Voice)
    -Removing all patches from my Pre
    None of these things have had any effect. When I put a wrong password in it comes back with an invalid password error. The correct password bring back an Unknown Error.
    The funny thing is I have a 2nd Google Apps account set up on both devices for work, and that hasn't had any problems.  What makes this even weirder is my friend who owns the Google Apps domain I'm on has a TouchPad with his account set up on it and it works fine. Any other suggestions would be greatly appreciated.
    Post relates to: HP TouchPad (WiFi)

    Aaaaaaaand we're back up and running.

Maybe you are looking for

  • Windows Vista "java.lang.ClassNotFoundException: loader.class" error.

    Hello, Whenever I try to visit websites that have a java applet I get a dialogue with the following error: java.lang.ClassNotFoundException: loader.class. I have tried uninstalling/reinstalling java, and also adding the -xmx and -xms parameters for j

  • Laptop for Premiere CS6

    Hi All I  check buy this laptop for editing video via Premiere CS6. FHD via effects. If it is good enough? Lenovo Ideapad y70-70 Cpu : i7 4710HQ Ram: 16gb ddr3 GC:  Nvidia gforce gtx 860m 4gb HD: 256 SSD Thanks Best Regards

  • USB card reader not recognized on Intel Mac! Suggestions?

    I'm a very experienced user and own several Macs. I just replaced my PowerBook G4 with a new MacBook Pro (MBP). I used Migration Assistant to copy all files and settings and was pleasantly surprised at how well it worked. But the MBP doesn't recogniz

  • 10g RAC Node down Enterprise Manager

    Hello We have a 2 node Oracle 10g RAC Rel2 Linux setup. Enterprise Manager was first stalled on Node1 and we access it using http://node1:5500/em. This node has a hardware failure and is out of commision at the moment. When I try to connect to http:/

  • Bad system configuration info

    I opened my PC this morning and it said that windows did not load properly... It tries to auto correct and then does a diagnostic and I get the message above to research ... I press the ok for it to restore to an earlier time when windows was running