Thanks Greg

 

Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 (Monday, Wednesday,Friday)

Phone : +618 9346 4372 (Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : [email protected]; [email protected]
The contents of this e-mail transmission outside of the WAGHS network are
intended solely for the named recipient's), may be confidential, and may be
privileged or otherwise protected from disclosure in the public interest.
The use, reproduction, disclosure or distribution of the contents of this
e-mail transmission by any person other than the named recipient(s) is
prohibited. If you are not a named recipient please notify the sender
immediately.

 

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Greg Keogh
Sent: Tuesday, 20 March 2012 5:48 AM
To: 'ozDotNet'
Subject: RE: [OT] Signtool with expired PFX

 

Chaps, I'm still wondering what to do about my expired cert, but after a
fair bit of searching I finally found some relatively clear instructions on
how to make a PFX file (outside of the IDE). The relationship between cer,
pvk and pfx files is tricky to clarify, including what can be exported or
converted to what and when using what utilities.

 

http://www.digitallycreated.net/Blog/38/using-makecert-to-create-certificate
s-for-development

 

I stripped it down to this BAT file to make cer and pvk files and finally a
pfx file that I can use for test signing.

 

set CN=My Company Name

set FN=mycompany

set PSW=xyzzy

makecert -n "CN=%CN%" -a sha1 -sky exchange -pe -sv "%FN%.pvk" "%FN%.cer"

pvk2pfx -pvk "%FN%.pvk" -spc "%FN%.cer" -pfx "%FN%.pfx" -pi %PSW%

 

Greg

Reply via email to