Posted on 2008-05-21 16:45
linlin yu 阅读(198)
评论(0) 编辑 收藏 所属分类:
java
cd ${jboss.server.home.dir}/conf
keytool -genkey -dname "CN=localhost, OU=localhost, O=localhost,L=localhost, S=State, C=Country Code" -alias "LC Cert" -keypass 123456 -keystore keystorename.keystore
keytool -export -alias "LC Cert" -file LC_cert.cer -keystore keystorename.keystore
keytool -import -file LC_cert.cer -keystore C:\java\jdk1.6.0_04\jre\lib\security\cacerts
keytool -printcert -v -file D:\Adobe\LiveCycle8\jboss\server\all\conf\LC_cert.cer
keytool -delete -alias "LC Cert" -keystore keystorename.keystore
keytool -delete -alias mykey -keystore C:\java\jdk1.6.0_04\jre\lib\security\cacerts
<Connector port="8443" address="${jboss.bind.address}"
maxThreads="100" minSpareThreads="5" maxSpareThreads="15"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/keystorename.keystore"
keystorePass="123456" sslProtocol = "TLS" URIEncoding="UTF-8"/>