简体   繁体   English

使用keytool生成密钥对(公钥和私钥)和签名证书时,无法在命令提示符下输入

[英]Can't input in command prompt when using keytool to generate key pair (public and private keys) and a signing certificate

I can't provide any input from my keyboard or from the on-screen keyboard when using keytool to generate key pair (public and private keys) and a signing certificate. 使用keytool生成密钥对(公用和专用密钥)和签名证书时,我无法从键盘或屏幕键盘上提供任何输入。

This problem occurs only when executing this command not in any other commands. 仅当执行此命令而不是其他任何命令时,才会出现此问题。
I tried using running command from .bat file but still can't provide any input. 我尝试使用.bat文件中的运行命令,但仍然无法提供任何输入。
在此处输入图片说明

The only input i can provide is enter(button). 我唯一可以提供的输入是enter(button)。
So should i go forward by again providing enter(button)? 那么我应该再次提供enter(button)前进吗?

Note: I am referring Oreilly Android Application Development 2009.pdf 注意:我指的是Oreilly Android应用开发2009.pdf
Web version: http://androidapps.org.ua/i_sect17_d1e6459.html 网络版本: http//androidapps.org.ua/i_sect17_d1e6459.html

Are you sure you can't provide password? 您确定无法提供密码吗? It doesn't show you any character when you type password and it is correct. 键入密码时,它不显示任何字符,并且正确。 Did you try print eg '123' as password and '456' as re-enter password? 您是否尝试打印例如“ 123”作为密码,然后输入“ 456”作为重新输入密码? Does it say they don't match? 它说他们不匹配吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 适用于Android的Keytool公钥/私钥对 - Keytool Public/Private key pair for Android 在API 21中生成密钥对时无法生成证书异常 - Can't Generate Certificate Exception When Generating Key Pair In API 21 如何生成私钥/公钥对来加密消息 - How to generate a private/public key pair to encrypt messages 为Android上的SSH登录生成RSA私钥/公钥对 - Generate a RSA Private/Public Key pair for SSH login on Android 我可以在移动设备上创建公钥/私钥对吗? - Can I create a public / private key pair on a mobile device? 尝试获取密钥时,keytool 未被识别为命令 - keytool is not recognized as a command when trying to obtain key 我可以在保留私钥的同时更改Android签名证书主题 - Can I change Android signing certificate Subject while keeping the private key 用受信任的证书、密钥库替换密钥对条目中的公钥 - Replace public key in key pair entry with trusted certificate, keystore 为什么在新版 Google Play Console 网站中不再使用“private_key.pepk”文件来生成应用签名密钥? - Why isn't "private_key.pepk" file not used to generate app signing key in the new version of Google Play Console website anymore? 这是在apk中包含一对密钥(公共/私有)的最安全方法 - which is the safest way to include a pair of key (public/private) in a apk
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM