PDA

View Full Version : Code signing question



NewsArchive
05-18-2007, 05:54 AM
Is it possible to have more than one certificate on one machine, and
alternatively choose which one you want to sign with?

Sometimes, I do install scripts for clients, and would like to be able to
sign with their certicates rather than mine. OK, scratch that! My clients
would like their install to be signed with their certicates... <bg>

Prefer to ask before trying, don't want to screw up my certificates
either....

Thanks for any advice (If not possible suggestions for alternatives). I
guess I could always use virtual machines....

Bernard

NewsArchive
05-18-2007, 05:54 AM
Not direct experience, but AFAIK the certificates are just files. For
simplicity sake you might simply put each couple of them in a different
folder and pick up the ones you need with each SB install, and that should be
it.

--
Jorge Alejandro Lavera
www.ClarionTemplates.com - Relief for Clarion Developers.
www.ClarionPrograms.com

NewsArchive
05-18-2007, 05:54 AM
Yes.

When you buy your certificate, it asks whether you want to download it as a
file or into your computer's cryptographic store. Always select as a file.

In SB, you specify the certificate you want to use to sign the installer in
the installer's General Information | Digital Signature page. You also
specify the certificate when you use the "#code-sign application" compiler
directive.

No reason you can't have your clients' certificates on your machine, and
specify the appropriate certificate and password depending on your
particular project. (Assuming they trust you that much <G> ). You'll need
their certificate and private key and password. Or a PFX file and password.

Jane

NewsArchive
05-18-2007, 05:55 AM
Jane

> No reason you can't have your clients' certificates on your machine, and
> specify the appropriate certificate and password depending on your
> particular project. (Assuming they trust you that much <G> ). You'll need
> their certificate and private key and password. Or a PFX file and password.

Thanks! That's what I was thinking, but prefer to double check. About
trust, well, you're right, but it's quite binary, "maybe" won't work... <g>

Bernard

NewsArchive
05-18-2007, 05:55 AM
Bernard,

No personal experience but as the certificate is a file like Jorge said, put
them in different dirs and within SB project go to the special dir of that
company to pick it up ...that's supposedly all you need to do

--
Merci - Thank you

JP

NewsArchive
05-19-2007, 05:14 AM
> Bernard,
>
> No personal experience but as the certificate is a file like Jorge said, put
> them in different dirs and within SB project go to the special dir of that
> company to pick it up ...that's supposedly all you need to do

Merci, Jean-Pierre! You are doing OK?

Bernard

NewsArchive
05-19-2007, 05:14 AM
Hi Bernie,

Oui merci!

Learning parameters in procdures :) works fine and now global variables to
be cleared etc at end of procedure automatically etc ....

La vie continue ... :)

--
Merci - Thank you

JP