1. Certificate
Firstly your need a certificate
You can create one like this (for test purpose)

makecert -r -ss default -pe -n "CN=CompanyRoot.org" -b 01/01/2010 -e 01/01/2015 -sky exchange CompanyRoot.crt

makecert -is default -in "CompanyRoot.org" -ss default -pe -n "CN=dev.CompanyRoot.org" -b 01/01/2010 -e 01/01/2015 -sky exchange dev.CompanyRoot.crt

launch certmgr.msc and open "default" folder
you shoud see CompanyRoot.org this is main certificate,
move it into "Trusted Root Certification Authorities".
Second certificate "dev.CompanyRoot.org" you could export to disk
as pfx file and use for signing documents.

2. Run pds.exe PackageFilename CertificateFilename Password
PackageFilename file name of packacge
CertificateFilename file name of certificate
Password certificare password
pds.exe c:\temp\mydocument.docx c:\cert\dev.CompanyRoot.pfx 1234

Last edited Sep 4, 2011 at 5:42 PM by 777Radik, version 3


No comments yet.