GlobalSign Security Solutions Secure SSL Certificates  |  Home  |  Contact Us    
Search Technical Support & FAQs  
 
Certificates SSL menu divider Enterprise Solutions SSL menu divider Partners SSL menu divider Customer Support SSL menu divider About GlobalSign

 

 


Customer Support - Please make your selection from the tabs below.

 
Contact Us
US: +1 877-467-7543
UK: +44 1622 766766
EU: +32 16 89 19 00
sales@globalsign.com
Product Links
SSL Certificates
ObjectSign
PersonalSign
SSL Managed Service
CorporateRA


Support Quick Links

CSR Generation
SSL Install
Contact us
GlobalSign Site Seal
GlobalSign SSL Site Seal
 
Get the GlobalSign
SSL Secure Site Seal
 

 

Customer Support > ObjectSign Code Signing Certificates > Signing code for Microsoft Authenticode

 

Common Questions

Set up a directory for signing
Create the CAB file
Signing your files
Verifying the signed archive
Installing the signed archive
Resources

 

 

Set up a directory for signing

Create a top-level directory for the signing. Within that directory, create a subdirectory containing all the .class files for your applet (if you have several class files). Within the subdirectory, place copies of all .class files in their directories. Top level .class files should be right inside this directory, and all package .class files should be in subdirectories with the package names

-------------------------------------------------------------------

Create the CAB file

You should gather all your files in a cab file. To do so on the command prompt type the following command :

cabarc -s 6144 N Sample.cab Sample.class

or

cabarc -r -p -s 6144 N Sample.cab c:\Myfiles\*.*

-------------------------------------------------------------------

Signing your files

* Using The command prompt

Signcode –cn “GlobalSign” test.exe

You need to replace GlobalSign by your CN (common name).

This can be found in internet explorer by going to tools -> internet options -> content ->certificates -> click on your objectsign certificate -> view -> details -> item subject.

* Using the Digital Signature Wizard

The Digital Signature Wizard is a graphical user interface (GUI) to run SignCode.exe. The wizard can be used instead of the command prompt. The Digital Signature Wizard provides the following options:

Selecting and using a specific certificate to sign a file
Selecting and using a specific private key
Selecting a key type
Selecting a hash algorithm for the signature
Adding a timestamp to the signed file
The Digital Signature Wizard is a CryptoAPI Tool available with Internet Explorer 5.0 and Microsoft® Windows NT® version 4.0 SP4 or later. The wizard can be started by calling the SignCode.exe utility with no options from the command prompt

When launching signcode, you get this following window:

1

Click 'Next':

2

Here browse or enter the file path to be signed, click 'Next'

3

Here you have 2 options, let's proceed with Typical first, click 'Next':

4

Click on 'Select from Store':

5

Choose your ObjectSign Certificate and click 'OK':

6

Here you still have the option to view your certificate, click 'Next':
On the following screen you have the option to enter a description or/and a web location.

7

Click 'Next':

8

Here you have the possibility to add a timestamp. Click 'Next':

9

That is the summary, click 'Finish':

1

Now we come back to 'Signing Options' screen to choose 'Custom':

2

Click 'Next':

3

Here you have both options, if you have an ObjectSign certificate delivered before the 15th of September 2001, you should 'Select from File…'
After this date, all ObjectSign Certificates are automatically installed in Internet Explorer Cetificate Store, in this case 'Select from Store…':

4

Click 'Next':

5

The Second Options is automatically selected as the Private key is in the IE Certificate Store, click 'Next':

6

Select a hash algorithm and click 'Next':

7

Leave the default options, all certificates in the certification path, including the root certificate, and no additional certificates, click 'Next':

8

The following options are exactly the same as the previous ones.
For any questions regarding signcode send an e-mail to support@globalsign.com.

-------------------------------------------------------------------

Verifying the signed archive

The first time you create a signed archive you'll want to verify it. Do this using chktrust:

chktrust SimpleEdit.cab If the archive is signed properly, you'll get a "Security Warning" dialog asking if you want to install and run "Super Duper Applet", which was signed by you (signature verified by your CA). If not, you won't

-------------------------------------------------------------------

Installing the signed archive

Put the signed .cab archive into the web server directory containing the main class of your applet. Change the .html file that invokes the applet so that it mentions the archive:

<title>GlobalSign Signed Applet</title>
<hr>
<applet code="Sample.class" ARCHIVE="Sample.jar" width=600 height=350>
<param name="CABBASE" value="Sample.cab">
</applet>
<hr>

Note: If you need to have an applet with multiple .cab archives, you can use the CABINETS applet parameter:

<param name="CABINETS" value="MyApplet.cab,MyApplet2.cab">

-------------------------------------------------------------------

Installing Signed applets for both Internet Explorer and Netscape

Once you've created both .cab (Internet Explorer) and .jar (Netscape) archives for a given applet, you can use both in the same piece of HTML code; each browser will select the archive it understands. Use code like this:

<title>My Wonderful Signed Applet</title>
<hr>
<applet code="MyApplet.class" ARCHIVE="MyApplet.jar" width=600 height=350>
<param name="CABBASE" value="MyApplet.cab">
</applet>
<hr>

-------------------------------------------------------------------

Resources

* you can obtain your GlobalSign ObjectSign Certificate by starting an online registration at:
  http://www.globalsign.com/digital_certificate/objectsign/index.htm
Authenticode Resources - http://msdn2.microsoft.com/en-us/library/ms537359(VS.85).aspx

 
   
  SSL Certificate Supported Browsers
GlobalSign Inc (a member of GMO Internet Inc group TSE:9449) offers online security services and has been operating as a
trusted Root Certification Authority
for over 10 years. GlobalSign Certificates are trusted by all popular Browsers,
Operating Systems, Devices and Applications and include SSL, SSL Certificates, Extended SSL Certificates, Code Signing,
Personal Digital IDs
, Enterprise Digital IDs, internal PKI & Microsoft CA root signing.