Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Signing an applet within Netbeans

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to sign an applet within Netbeans without much luck and could really use some assistance. I can sign the applet (without the necessary manifest file changes) with jarsigner from within a cmd prompt so I know I have a good certificate.
This is what I have tried:
1. I am using Netbeans 8.0
2. I open the "Project Properties" window and select "Web Start".
3. I then check the "Enable Web Start" check box.
4. I click the "Customize" button within the Enable Web Start section which opens the Signing dialog
5. Within the Signing dialog I select "sign by a specified key"
6. In the Keystore Path I specify a path\xx.pfx file to be used.
In the Password and Key Password fields I specify a password.
In the Key Alias field I provide the alias I obtained from using the keytool command on the .pfx file.

When I build my project I get "jarsigner error: java.lang.RuntimeException: keystore load: Invalid keystore format" and that the "jarsigner returned: 1"

My question is does this process appear correct and is the issue I am having related to the fact that netbeans does not support .pfx or pkcs12 certificate types?

Thank you in advance for your time.
ice is for people that are not already cool. Chill with this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic