weblogic12.2.1.4新建测试环境,登录主控后有下图红色告警
报错如下:
The configuration rules for key stores for this server are set to Demo Identity and Demo Trust.Demo Certificates are not supported in production mode domains. The server is vunerable to security attacks,since it trusts certificates signed by the demotrusted CA and the server private key is available to the public. Set the KeyStores attribute to CustomIdentityAndJavaStandardTrust or CustomIdentityAndCustomTrust.
通过<JAVA_HOME>/bin/keytool
keytool -genkey -v -alias h3 -keyalg RSA -keysize 512 -keypass weblogic123 -dname “CN=10.6.16.11, OU=NONE, O=NONE, L=BEIJING, ST=BEIJING, C=CN” -validity 365 -keystore /weblogic/Oracle_cs_12.2.1.4/Middleware/user_projects/domains/weblogic_identity.jks -storepass weblogic123
keytool -certreq -v -alias h3 -file /weblogic/Oracle_cs_12.2.1.4/Middleware/user_projects/domains/cert_request.pem -storepass weblogic123 -keystore /weblogic/Oracle_cs_12.2.1.4/Middleware/user_projects/domains/weblogic_identity.jks
生成的两个文件,然后更改密匙库,修改如下配置: