Convert the JKS KeyStore and Restart the Agent

  1. Go to your agent installation directory and navigate to Agent_Install_Location>/agenthome/agent/cert.

    Note:

    If you already have the PKCS12 KeyStore (as shown in the image below), you do not need to complete these steps. You can restart the agent with steps 4 and 6 .


    This image shows the PKCS12 KeyStore installed in a directory.

    If you still have the JKS KeyStore on the "keystore.jks" file (as shown in the image below), complete the following steps. These tasks require you to briefly stop and then restart the connectivity agent, so choose a time when the connectivity agent is not being used.


    This image shows the keystore.jks file saved in a directory
  2. On the server that hosts the connectivity agent, create a backup of the keystore.jks file for safety by copy-pasting and naming it "keystore_backup.jks." Move this backup file to a safe folder.
  3. Convert the JKS KeyStore to the PKCS12 KeyStore by running the following commands from the command line where <Agent_Install_Location> is your agent root folder location.
    cd <Agent_Install_Location> /agenthome/agent/cert 
    keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12 -srcstoretype JKS -deststoretype PKCS12 -deststorepass changeit -srcstorepass changeit
    The below image shows an example of these commands:

    This image shows the command line prompt commands.
  4. Stop the agent by sending a CTRL+C signal or closing the command prompt window that runs the agent.
  5. Delete the keystore.jks file if you just converted to the PKCS12 KeyStore.
  6. Start the agent by doing the following:
    1. Go to the installation directory.
    2. Run the following command on a command line prompt:
      java –jar connectivityagent.jar
    3. Verify the agent is running successfully.

      This image shows the command line prompt.
  7. If everything is working correctly, delete the backup keystore_backup.jks. If not, you can roll back using the JKS keystore backup.