简体   繁体   中英

Keystore generation with KeyTool command

While generating keystore by using keytool I receive error illegal option: genkeypair. But when I see help genkeypair is available as option. What am I doing wrong in command?

C:\\Program Files\\Java\\jdk1.7.0_51\\bin>keytool.exe -genkeypair -alias orbis -storetype pkcs12 -keyalg RSA -keysize 2048 -keystore d:\\Certificates\\orbisKeyStore.p12

I suggest you to just use your IDE to do your job.

Right click on project --> Android Tools --> Export Signed Application Package --> Create New Key Store

and then just follow the wizard. You can also follow this link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM