weblogic11g开启SSL/启用管理端口,出现Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11

一、配置步骤

1、使用默认的密钥库,按照下图所示,点击SSL中的高级

请添加图片描述

2、选中SSL中的“使用JSSE SSL”,点击保存

请添加图片描述

3、激活更改

请添加图片描述

4、如果有部署项目,需要重启项目

请添加图片描述

5、设置启用管理端口,如下图,勾选保存,激活更改。

请添加图片描述

6、为了方便,重启weblogic,日志如下

在这里插入图片描述

7、验证:https://ip:9002/console

管理端口:
在这里插入图片描述

应用端口:
在这里插入图片描述
在这里插入图片描述


二、解决疑问

1、为什么需要weblogic11g需要勾选“使用JSSE SSL”?

参考链接:https://docs.oracle.com/cd/E28280_01/web.1111/e13707/ssl.htm#SECMG621
请添加图片描述

2、怎么知道这个版本的weblogic不支持SHA-256呢?

在未开启JSSE SSL时,使用默认的密钥库,并且启用了管理端口,重新启动weblogic后,可以在日志中查看到以下信息:

<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.> 
<Jul 21, 2021 11:12:02 AM CST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>

以上信息就是在使用默认密钥库
(/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks),并且使用了java的标准信任库(/usr/java/jdk1.6.0_45/jre/lib/security/cacerts),出现的错误。

经查询,以上9个错误中标红的信息,在cacerts中对应的签名算法是SHA256withRSA

而在上一个问题问题中,已说明有些版本的weblogic不支持SHA-256,因此在这里出现这些错误信息,表明此版本需要开启JSSE SSL功能

如何查看上面的9个错误出现在cacerts中:

1、 在/usr/java/jdk1.6.0_45/bin目录下,执行以下命令:

keytool -list -v -keystore ../jre/lib/security/cacerts-storepass weblogic > list.txt

2、 打开生成的list.txt
3、 搜索上面的红色字

CN=Entrust Root Certification Authority - G2

在这里插入图片描述
可以看到对应的签名算法是SHA256withRSA
以此类推,其他八个对应的签名算法也是SHA256withRSA


author:su1573
鄙人记录生活点滴,学习并分享,请多指教!!!
如需交流,请联系 sph1573@163.com,鄙人看到会及时回复

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ssy03092919

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值