how do I sign my app with an RSA key?

  • 1
  • Question
  • Updated 4 years ago
I've used Java keytool to generate a key, using this command string:

keytool -genkey -v -keystore [my_app_name].keystore -alias [my_alias] -keyalg RSA -keysize 2048 -validity 10000

I signed my app in PhoneGap Build using this key. However, when I gave the signed file to my customer, they requested I sign with an RSA key rather than DSA key. Doesn't the operator "-keyalg RSA" mean it's an RSA key? What am I missing?
Photo of Steve Jacobs

Steve Jacobs

  • 2 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Photo of Steve Jacobs

Steve Jacobs

  • 2 Posts
  • 0 Reply Likes
Thanks Jesse, however that's not new information. I've seen that already. In my question above I show the command string I used, which matches the Android Signing infformation in PhoneGap help that you linked. Since I clearly created an RSA key based on using this string, it must be something on my customer's end.

Best wishes.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
LOL. On subjects such as this, hand holding the customer is the only real option.

Jesse