javax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert in Weblogic cluster
Solution:
In this case, Admin Server and the Node Manager are using default demo certificates. The node manager configuration is done using the fully qualified machine name and entries are there in /etc/hosts.
After trying so many options to debug, finally decided to disable the Host Name Varification.
Edit both Node manager startup script and weblogic startup script and add following lines.
1. Nodemanager startup script under $WLS_HOME/wlserver_10.3/server/bin
Take a backup of startNodeManager.sh script and edit it
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.nodemanager.sslHostNameVerificationEnabled=false"
export JAVA_OPTIONS
2. Similarly take a backup of startWeblogic.sh script under $DOMAIN_HOME/bin
and add following entry
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.security.SSL.ignoreHostnameVerification=true"
export JAVA_OPTIONS
Restart all services. The warning is gone now and the node manager status of all nodes when checked from console page changed to "Reachable"
Solution:
In this case, Admin Server and the Node Manager are using default demo certificates. The node manager configuration is done using the fully qualified machine name and entries are there in /etc/hosts.
After trying so many options to debug, finally decided to disable the Host Name Varification.
Edit both Node manager startup script and weblogic startup script and add following lines.
1. Nodemanager startup script under $WLS_HOME/wlserver_10.3/server/bin
Take a backup of startNodeManager.sh script and edit it
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.nodemanager.sslHostNameVerificationEnabled=false"
export JAVA_OPTIONS
2. Similarly take a backup of startWeblogic.sh script under $DOMAIN_HOME/bin
and add following entry
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.security.SSL.ignoreHostnameVerification=true"
export JAVA_OPTIONS
Restart all services. The warning is gone now and the node manager status of all nodes when checked from console page changed to "Reachable"
No comments:
Post a Comment