1
自己的密鑰庫我想使用密鑰庫保存私鑰。我使用這個私鑰來加密數據源密碼。 我生成myfile.keystore文件與密鑰工具並加入在Tomact server.xml文件以下配置。使用Java代碼
<Connector
protocol="HTTP/1.1"
port="8443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="myfile.keystore" keystorePass="password"
clientAuth="false" sslProtocol="TLS"/>
我怎麼能看這種私鑰在Java代碼中使用?
非常感謝您!這正是我所問的:) – mariami