Skip to main content
OnCommand Workflow Automation 5.1

Replace the default Workflow Automation SSL certificate

Contributors netapp-aoife

You can replace the default Workflow Automation (WFA) SSL certificate if the certificate has expired or if you want to increase the validity period of the certificate.

You must have root privileges for the Linux system on which you have installed WFA.

The default WFA installation path is used in this procedure. If you changed the default location during installation, you must use the custom WFA installation path.

  1. Log in as a root user on the WFA host machine.

  2. At the shell prompt, navigate to the following directory on the WFA server: WFA_install_location/wfa/bin

  3. Stop the WFA database and server services:

    ./wfa --stop=WFA

    ./wfa --stop=DB

  4. Delete the wfa.keystore file from the following location: WFA_install_location/wfa/jboss/standalone/configuration/keystore.

  5. Open a shell prompt on the WFA server, and then change directories to the following location: <OpenJDK_install_location>/bin

  6. Obtain the database key:

    keytool -keysize 2048 -genkey -alias "ssl keystore" -keyalg RSA -keystore "WFA_install_location/wfa/jboss/standalone/configuration/keystore/wfa.keystore" -validity xxxx

    xxxx is the number of days for the validity of the new certificate.

  7. When prompted, provide the password (default or new).

    The default password is a randomly generated encrypted password.

    To obtain and decrypt the default password, follow the steps in the Knowledge Base article How to renew the self-signed certificate on WFA

    To use a new password, follow the steps in the Knowledge Base article How to update a new password for the keystore in WFA.

  8. Enter the required details for the certificate.

  9. Review the displayed information, and then enter Yes.

  10. Press Enter when prompted by the following message: Enter key password for <SSL keystore> <RETURN if same as keystore password>.

  11. Restart the WFA services:

    ./wfa --start=DB

    ./wfa --start=WFA