Hướng dẫn cài đặt

WebLogic: Cấu hình SSL

  1. Log in to the management console of the WebLogic server.
  2. Click Lock & Edit in the upper left corner of the page to unlock the configuration.
  3. Click Servers in Domain Configurations. Figure 2 Server
  4. In the server list, select the server for which you want to configure the server certificate. The server configuration page is displayed. Figure 3 Target server
  5. Modify the HTTPS port.On the server configuration page, click the General tab and configure whether to enable HTTP and HTTPS and the access port number.Select Listen SSL Port Enabled and change the port number to 443. Figure 4 Port
  6. Configure an authentication mode and a key.
    1. On the server configuration page, click the Keystores tab and configure an authentication mode. Figure 5 Authentication mode
      • Select Custom Identity and Java Standard Trust for server authentication.
      • Select Custom Identity and Custom Trust for bidirectional authentication.
    2. Configure a key in the Identity area. Configure the path for storing the keystore file server.jks on the server and enter the password of the keystore file. Figure 6 Key
      • Custom Identity Keystore: Enter the path for storing the .jks file. Example: C:easerver.jks
      • Custom Identity Keystore Type: Set the file format to jks.
      • Custom Identity Keystore Passphrase: Enter the certificate password, that is, the password in keystorePass.txt.
      • Confirm Custom Identity Keystore Passphrase: Re-enter the certificate password.
    3. In unidirectional authentication, configure the default trust store file cacerts of the JRE. The default password of cacerts is changeit. Figure 7 Trust store file
      • Java Standard Trust Keystore Passphrase: Enter the default password changeit.
      • Confirm Java Standard Trust Keystore Passphrase: Re-enter the default password.
  7. Configure the private key alias of the server certificate. On the server configuration page, click the SSL tab and set the following parameters: Figure 8 Private key
    • Identity and Trust Locations: Select Keystores.
    • Private Key Alias: Configure a private key alias in the private key library. You can run the keystool -list command to view the private key alias.
    • Private Key Passphrase: Enter the private key protection password. Generally, the private key protection password is the same as the keystore file protection password.
    • Confirm Private Key Passphrase: Enter the private key protection password again.
  8. Click Active Changes to save the settings. Figure 9 Saving the settings
  9. (Optional) If the system prompts you to restart the WebLogic server, restart the WebLogic server for the settings to take effect. As shown in Figure 10, you do not need to restart the WebLogic server. Figure 10 Message displayed

Chia sẻ:
đầu trang