每step 3b of this Jetty guide for using Keytool and OpenSSL, last step,我做的命令:Java的密钥工具给予“最后一个块未正确填充”
keytool -importkeystore -srckeystore jetty.pkcs12 -srcstoretype PKCS12 -destkeystore keystore
当我运行的命令,我得到:keytool error: java.io.IOException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded
你知道如何解决这个?
您可能会避免转换并在Jetty中使用'PKCS12'作为'keystoreType'。 – Bruno 2012-02-14 18:45:55