`
sunbin
  • 浏览: 343160 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Weblogic 10.3的SSL的配置

阅读更多
 
 
1、通过keytool 工具生成建立密钥对。
Dos command :keytool -genkey -v -alias dwkey -keyalg RSA -keysize 512 -keypass changeit -validity 365 -keystore weblogic_identity.jks -storepass changeit
在命令提示符界面输入上面命令,存放路径自选(我选择的是C盘根目录),jks文件名称、alias名称、keypass、storepass、validity time 自选。
 
2、生成证书签发请求*.pem文件
Dos command:keytool -certreq -v -alias dwkey -file cert_request.pem -keypass changeit -storepass changeit -keystore weblogic_identity.jks
 
3、将生成的 weblogic_identity.jks 和 cert_request.pem 文件拷贝到weblogic domain文件夹下(我的是:D:\Program Files\bea\user_projects\domains\base_domain)。
4、启动weblogic,进入管理控制台。
5、选择一个需要使用的server,点击进入,选择keystores tab,填写相应的信息。
Custom Identity Keystore: weblogic_identity.jks
Custom Identity Keystore Type: jks
Custom Identity Keystore Passphrase: 上面dos命令中的storepass 值(-storepass changeit)

 

 

 

Java Standard Trust Keystore Passphrase: 我输入的是changeit
  
 
6、选择ssl tab,输入相应的信息。
Identity and Trust Locations: 选择 keystores
Private Key Alias: 1命令中的alias名
Private Key Passphrase: 1命令中的keypass值。
 
7、Select "General" tab,Enable SSL port and set a port value.
 
8、然后再浏览器中输入 https//localhost:7002/projectName(端口号可以自己设置)。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics