Thank you so much for your help.
I'm sorry I'm so clueless here.
(This of course is always what clueless people say before they take up
even more of your time..)
So I get a certificate from Verisign.
Do I also need to sign up for the M2M thing through Microsoft?
Then I install it on my development computer?
(I'm not the developer or a developer, I just look up issues for them
and bother kind usenet folks with my n00bish and incorrectly phrased
questions.. )
Am I then ready to package the app via Visual Studio?
Is there something special I need to do during this process?
Or do I do the signing using the the tools they send me?
And about how long does the signing up, installing, etc. take before I
have a signed app?
Is it still a case of having to pay for each .exe. or .dll etc that
needs signing?
Or was that never the case for WM 5.0?
I've read so much tonight that it's all just a scary blur to me right
now..
> Thank you so much for your help.
> I'm sorry I'm so clueless here.
> (This of course is always what clueless people say before they take up
> even more of your time..)
I've asked many, many questions so it's only fair that I contribute
something back.
> So I get a certificate from Verisign.
That's at least one option, but probably not the only one. It just happens
to be the only one that I know.
> Do I also need to sign up for the M2M thing through Microsoft?
Fair question...I don't have the answer to that one as I didn't sign the
.exe for the mobile device I developed an app for. That's kinda why I asked
how many devices you were deploying this to. If it were only a couple then
some of this may not be worth the headache of trying to figure it out. I
developed an app for 1 device, so how far and creative I went with a setup
and deployment package was a no-brainer for me. I probably didn't do it the
Microsoft way, but hey...I had to get the project done and it works. :-)
> Then I install it on my development computer?
Not really. There isn't really an installation package. They sent us an
.exe that does the signing, a cert and a key. I use the batch file that
calls on the .exe they sent us with the key, cert and the target .exe
as parameters. Their program calls their own timestmp server and verifies
your key and cert...and VIOLA!!! Your .exe is signed.
> (I'm not the developer or a developer, I just look up issues for them
> and bother kind usenet folks with my n00bish and incorrectly phrased
> questions.. )
No prob. Nobody became an expert without asking some questions.
> Am I then ready to package the app via Visual Studio?
You can run a batch file after you've built your project/solution or as part
of the post build events. There is a post build-events button on the
compile tab of your projects properties.
> Is there something special I need to do during this process?
Not really. It's so simple you wouldn't believe it.
> Or do I do the signing using the the tools they send me?
Whether you run a batch file or add this portion to the post build-events,
they'll both use the .exe, cert and key they sent you.
> And about how long does the signing up, installing, etc. take before I
> have a signed app?
I think it took a week or so to sign up. They have to verify your company
and who you are, yada, yada, yada. As soon as they send you the stuff, it
can take as little as 5 mintues to set it up and start signing files.
> Is it still a case of having to pay for each .exe. or .dll etc that
> needs signing?
Nope. You pay for a subscription from them. After your subscription is
up...they won't sign your files anymore. Ours lapsed by 3 days and it
wasn't pretty.
http://www.verisign.com/products-services/security-services/code-signing/digital
-ids-code-signing/index.html
> Or was that never the case for WM 5.0?
I'm unsure about signing files for mobile devices. You've tapped me for all
my knowledge on that subject.
> I've read so much tonight that it's all just a scary blur to me right
> now..
Been there...done that...
Paul G. Tobey [eMVP] - 22 May 2008 16:35 GMT
No, you don't *also* need M2M. That's just an alternative to using a
Verisign certificate. The only case I can think of where you might want
both a certificate authority certificate and a M2M certificate is where your
certificate authority is not in the trusted store on the mobile device to
begin with. That is, the code is signed, but the device doesn't recognize
the certificate as having come from someone that it trusts, so you probably
still get the user warning. To work around that, you could have your
installer signed with a M2M cerificate and have that installer, in turn,
arrange for the other certificate to be trusted, as part of the
installation.
Paul T.
>> Do I also need to sign up for the M2M thing through Microsoft?
>
[quoted text clipped - 6 lines]
> didn't do it the Microsoft way, but hey...I had to get the project done
> and it works. :-)
SQL Server Questions - 22 May 2008 17:32 GMT
I think i understand what you're saying Paul, but just to check.
When I view my device from the Security Configuration Manager, I see
the following;
(M2M) Baltimore Mobile device Privileged Root
(M2M) Geotrust Mobile Device Root
(M2M) Verisign Authorized Code signing (Privileged) Root for Microsoft
These made me assume? wonder? if I need both.
I'll check their sites as well, just wondering what the whole (M2M) in
the certificate name meant.
On May 22, 8:35 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> No, you don't *also* need M2M. That's just an alternative to using a
> Verisign certificate. The only case I can think of where you might want
[quoted text clipped - 19 lines]
> > didn't do it the Microsoft way, but hey...I had to get the project done
> > and it works. :-)
NET CF Questions - 22 May 2008 17:34 GMT
On May 22, 8:35 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> No, you don't *also* need M2M. That's just an alternative to using a
> Verisign certificate. The only case I can think of where you might want
[quoted text clipped - 19 lines]
> > didn't do it the Microsoft way, but hey...I had to get the project done
> > and it works. :-)
I think I understand what you're saying Paul, but just to check.
When I view my device from the Security Configuration Manager, I see
the following;
(M2M) Baltimore Mobile device Privileged Root
(M2M) Geotrust Mobile Device Root
(M2M) Verisign Authorized Code signing (Privileged) Root for Microsoft
These made me assume? wonder? if I need both.
I'll check their sites as well, just wondering what the whole (M2M) in
the certificate name meant.
Paul G. Tobey [eMVP] - 22 May 2008 17:47 GMT
Mobile2Market. I'm not sure how to define what it is, but maybe you can
find some information on it from that...
Paul T.
> On May 22, 8:35 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
> no instrument no spam DOT com> wrote:
[quoted text clipped - 40 lines]
> I'll check their sites as well, just wondering what the whole (M2M) in
> the certificate name meant.
Jin Chang - 22 May 2008 17:49 GMT
On May 22, 11:34 am, NET CF Questions <dotnetcfquesti...@gmail.com>
wrote:
> On May 22, 8:35 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
> no instrument no spam DOT com> wrote:
[quoted text clipped - 34 lines]
> I'll check their sites as well, just wondering what the whole (M2M) in
> the certificate name meant.
I'm also trying to digest all this as I go, but here's how I
understand it.
It's crucial to make sure that the certificate you get matches the one
pre-installed on the device if you want to bypass the "unknown
publisher" message during the install or launching of the
application(s). In my case, I got one of those "chained certificate"
that chains back to one of the pre-installed root certificate, so I
ended up getting the message. Before facing this situation, I was
under the impression that "chained certificate" (which basically
chains back to the root certificate) will be recognized by the OS, but
this apparently is not the case with WM. Given this, I believe the
solution to my problem is to get the proper certificate that is not
chained. Although installing the certificate on the device should
resolve the issue, it wasn't an option for me to do this since I need
to avoid the "unknown publisher" message from the get-go.
If my assumptions are incorrect in any way, please point it out.