HTTPS访问:weblogic下配置SSL

进入Weblogic安装路径下的JDK安装目录bin文件下,通过keytool工具生成密钥对(标识密钥库)

 

 

输入命令,生成密钥

keytool.exe -genkey -v -alias weblogictest -keyalg RSA -keysize 512 -keypass xiejin -dname "CN=localhost,OU=北京文件柜系统,O=北京统计局,L=北京市,ST=北京,C=CN" -validity 365 -keystore E:/weblogic_identity.jks -storepass xiejin

 

输入命令,生成证书签发请求*.pem文件(私有密钥)

keytool.exe -certreq -v -alias weblogictest -file E:/cert_request.pem -keypass xiejin -storepass xiejin -keystore E:/weblogic_identity.jks

 

或者将上述的两条命令放在一个Bat文件中,直接点击Bat文件,即可。

 

启动weblogic,进入管理控制台,配置密钥库信息:

 

首先进入配置(Configuration)----à密钥库(Keystores)

 

配置信息如下:

 

密钥库(Keystores):定制标识和定制信任(Custom Identity and Custom Trust)

 

定制标识密钥库(Custom Identity Keystore):weblogic_identity.jks

定制标识密钥库类型(Custom Identity Keystore Type):jks

定制标识密钥库密码短语(Custom Identity Keystore Passphrase):xiejin

确认定制标识密钥库密码短语(Confirm Custom Identity Keystore Passphrase):xiejin

 

定制信任密钥库(Custom Trust Keystore):weblogic_identity.jks

定制信任密钥库类型(Custom Trust Keystore Type):jks

定制信任密钥库密码短语(Custom Trust Keystore Passphrase):xiejin

确认定制信任密钥库密码短语(Confirm Custom Trust Keystore Passphrase):xiejin

 

点击保存。

 

接着点击右边的SSL选项卡:

填写信息如下:

标识和信任位置(Identity and Trust Locations):密钥库(Keystores)

私有密钥别名(Private Key Alias):weblogictest

私有密钥密码短语(Private Key Passphrase):xiejin

确认私有密钥密码短语(Confirm Private Key Passphrase):xiejin

点击保存。

 

最后点击一般信息选项卡:

 

勾选已启用SSL监听端口(SSL Listen Port Enabled),并设置SSL监听端口(SSL Listen Port)

 

输入地址:https://localhost:port/beacon

转载于:https://www.cnblogs.com/xiaoxian1369/p/3906450.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值