0

I have a code signing certificate that is installed in my MMC Certificates Snapin in Windows.

When signing exes I use a command like this:

signtool sign /v /sm /s my /n "NAME_ISSUED_TO" /t http://timestamp.verisign.com/scripts/timestamp.dll

This locates the correct certificate from my certificate store and signs the exe without needing the pfx file on disk.

Is there a way to do something similar with Java?

I have had it working with these instructions but this requires a pfx file on disk.

Thanks, Alan

Perception
  • 79,279
  • 19
  • 185
  • 195
Alan Spark
  • 8,152
  • 8
  • 56
  • 91

1 Answers1

1

I got it working.

Using the steps outlined in this answer, I managed to import the pfx file into my keystore.

Then it was a case of omitting the keystore flag from these instructions.

Hope this helps others in the same situation.

Alan

Community
  • 1
  • 1
Alan Spark
  • 8,152
  • 8
  • 56
  • 91