WebLogic8.1 配置SSL/HTTPS单向认证
2017-10-26 17:46
471 查看
准备
1、已经生成名为localhost.jks的证书库,证书库的密码为localhost。2、证书库中有别名为localhost的证书,证书的域名为localhost。
3、已安装WebLogic8.1。
步骤
1、将localhost.jks证书库上传到/weblogic/bea/weblogic81/server/lib/目录下。/weblogic/bea/weblogic81/server/lib/srieservice.com_keystore.jks
2、在WebLogic的console(控制台)中找到Keystores & SSL
server->Configuration->Keystores & SSL
3、选择自定义
Change->Custom Indentity And Custom Trust->continue
4、填写 Custom Identity
Custom Identity Key Store File Name: /weblogic/bea/weblogic81/server/lib/srieservice.com_keystore.jks
Custom Identity Key Store Type: JKS
Custom Identity Key Store Pass Phrase(密码): localhost
Confirm Custom Identity Key Store Pass Phrase: localhost
填写完成后,continue
5、填写Review SSL Private Key Settings
Private Key Alias(证书别名): localhost
Passphrase(密码): localhost
Confirm Passphrase: localhost
填写完成后,continue,finish。
6、重启WebLogic。
7、测试。
在浏览器中打开地址:https://localhost:7901
server->Configuration->General->SSL Listen Port是https端口。
PS:WebLogic8.1只能识别签名算法为md5、sha1的证书。目前为止,签名算法为md5、sha1的证书已经不安全了。解决办法为:升级WebLogic(这个好像比较麻烦),或者使用反向代理(比如使用nginx将https请求转成http请求)。
相关文章推荐
- 在Weblogic8.1 SP4下配置连接池、数据源[including JNDI]试验
- Jbuilder9+Weblogic8.1安装配置
- Weblogic8.1缺省应用配置
- Jbuilder9+Weblogic8.1安装配置
- (转)Weblogic 8.1的安装与配置
- 配置weblogic 8.1和hibernate 3.0一
- 关于Weblogic8.1配置的总结
- WebLogic Server 8.1 数据库连接池配置问题
- JBuilder9+Weblogic8.1+mysql配置手记
- 配置WebLogic 8.1和Hibernate 3.0二
- 配置BEA WebLogic 8.1 JDBC连接
- 在weblogic 8.1 下配置Tx 数据源(Tx Data Source)
- 新手配置SQL2000+Weblogic8.1
- 经验谈:weblogic8.1 console登录密码丢失的解决以及在MyEclipse中的配置
- 配置weblogic8.1的步骤
- Weblogic8.1配置部署时出现错误
- Jbuilder9+Weblogic8.1安装配置
- WebLogic 8.1安装配置
- Weblogic8.1配置的总结
- Myeclipse6.5+weblogic8.1老是配置文件出现,sax解析错误,不能解析web-app的解决办法