By Daniel Hargreaves on Monday, 13 April 2020
Posted in Native Mobile App
Replies 1
Likes 0
Views 697
Votes 0
I have finally started to 'build' the Native Mobile App for Android. Following the online help, step one is to build the Keystore File. I'm running MacOS Catalina and download+installed JDK 14. entered the following line in terminal modifying the items specific to my App.


keytool -genkeypair -dname "cn=John Doe, ou=Development, o=StackIdeas, c=US" -alias easysocial -keypass password -keystore /path/to/file.jks -storepass password -validity 20000


I receive the following error
keytool error: java.lang.Exception: The -keyalg option must be specified.


Not sure what I need to input for the -keyalg
Hello Daniel,

It seems like there is a new update to the JDK. You may want to use this instead:


keytool -genkeypair -dname "cn=John Doe, ou=Development, o=StackIdeas, c=US" -alias easysocial -keypass password -keystore test.jks -keyalg RSA -storepass password -validity 20000


Please give it a try.
·
Monday, 13 April 2020 10:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post