For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > October 2005 > How to sign the cab file with a priviliged certificate?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to sign the cab file with a priviliged certificate?
Daniel

2005-10-17, 7:01 pm

I have created a privilieged test certificate and it works fine to sign exe:s
and dll:s using it. However, when I sign the cab (using signcode, I have
signed the exe inside as well - I've also tried the cabsigner tool to sign
both the cab and the exe) it doesn't seem to work. When I launch the cab on
the phone the phone claims it comes from an untrusted source (which should
pop up if I have signed it, right?). I try to launch my signed exe and it
doesn't work. I restart the phone and _then_ it works to launch the exe. And
yes, I have restarted the phone after I've run rapiconfig to add my
certificate to the phone.

Is it something that I forget?
Scott Yost [MSFT]

2005-10-17, 7:01 pm

Make sure you have added your test certificate to the SPC store as well.
That's the store that is used to check the signature on cab files.

--
Scott Yost
Software Development Engineer/Test
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:BA582D7D-2315-47F2-B920-47C26D406C97@microsoft.com...
>I have created a privilieged test certificate and it works fine to sign
>exe:s
> and dll:s using it. However, when I sign the cab (using signcode, I have
> signed the exe inside as well - I've also tried the cabsigner tool to sign
> both the cab and the exe) it doesn't seem to work. When I launch the cab
> on
> the phone the phone claims it comes from an untrusted source (which should
> pop up if I have signed it, right?). I try to launch my signed exe and it
> doesn't work. I restart the phone and _then_ it works to launch the exe.
> And
> yes, I have restarted the phone after I've run rapiconfig to add my
> certificate to the phone.
>
> Is it something that I forget?



Daniel

2005-10-18, 3:59 am

That was it. Thank you Scott. I wasn't aware of that I needed to add the
certificate to the SPC store as well.

/Daniel

"Scott Yost [MSFT]" wrote:

> Make sure you have added your test certificate to the SPC store as well.
> That's the store that is used to check the signature on cab files.
>
> --
> Scott Yost
> Software Development Engineer/Test
> Microsoft Corp.
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news:BA582D7D-2315-47F2-B920-47C26D406C97@microsoft.com...
>
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com