Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
BKS キーストアを作成し、このキーストアに 48 文字の長さの文字列であるプライベート アプリケーション キーを格納することになっています。このキー値がすでに含まれている JCEKS キーストアもあります。portecle ツールを使用して BKS タイプのキーストアに変換しようとすると、キー エントリが失われます。
私はJCEの初心者です。このキーをキーストアにインポートするには、何をする必要があるか教えてもらえますか?
ありがとう。
このコマンドを試してください
keytool -importcert -v -trustcacerts -file "cacert.pem" -alias ca -keystore "mySrvTruststore.bks" -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "bcprov-jdk16-145.jar" -storetype BKS -storepass testtest