1.Windows installation jdk
JDK can be downloaded from the official website
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
System variables→New JAVA_HOME variable
Configure environment variables: Right-click "My Computer"->"Advanced"->"Environment Variables"
JAVA_HOME:D:\Java\jdk-1.8
System variables → Find Path variables → Edit
Enter at the end of the variable value (note whether there is a ; sign at the end of the original Path variable value. If not, enter the ; sign first and then enter the above code)
%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
System variables→Create new CLASSPATH variable
Fill in the variable value (note the dot at the front)
.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
System variables are configured
Check whether the configuration is successful. Run cmd and enter java -version (there is a space between java and -version)
2. Certificate format conversion
To convert PFX to JKS
, you can use the Keytool tool to convert PFX format to JKS format.
keytool -importkeystore -srckeystore F:\server.pfx -destkeystore F:\server.jks -srcstoretype PKCS12 -deststoretype JKS
3. Log in to weblogic and add the certificate
Select the node, check SSL, and add a port
Upload the certificate and add the keystore
SSL add alias and certificate key