Hi All,
Here is a simple way that we can create a android keystore file. The below commands are worked on the windows machine. Not sure will that works on Mac or not!!
To create android keystore file, Open the Run command and execute the below command.
keytool -genkey -v -keystore filename.keystore -alias yourname -keyalg RSA -keysize 2048 -validity 1000
Once after hitting the above command, it will ask for the user details and go ahead by entering all the details. Once it finished you are ready to use the Key store file!!!
Note: If you face any problems while executing the above command then check whether your system is configured with Java. And also your system should be configured with all necessary Path variables
How to extract .cer file from Keystore file?
Use the below command to get cer file from keystore file.
Here is a simple way that we can create a android keystore file. The below commands are worked on the windows machine. Not sure will that works on Mac or not!!
To create android keystore file, Open the Run command and execute the below command.
keytool -genkey -v -keystore filename.keystore -alias yourname -keyalg RSA -keysize 2048 -validity 1000
Once after hitting the above command, it will ask for the user details and go ahead by entering all the details. Once it finished you are ready to use the Key store file!!!
Note: If you face any problems while executing the above command then check whether your system is configured with Java. And also your system should be configured with all necessary Path variables
How to extract .cer file from Keystore file?
Use the below command to get cer file from keystore file.
keytool -export -keystore <Path to .keystore file> -alias <alias name> -file <filename.cer>
Thank you!
ReplyDelete