Go to the server_root/alias directory containing the databases.
Add server_root/bin/https/admin/bin to your PATH.
Locate the pk12util in the server_root/bin/https/admin/bin.
Set the environment. For example:
On UNIX, use the setenv command
On IBM-AIX, use the LIBPATH command
On HP-UX, use the SHLIB_PATH command
On Windows, add it to the PATH
The PATH for your machine is listed under the server_root/https-admin/start.
Enter pk12util command.
The options are listed.
Perform required actions.
For example, in UNIX enter:
pk12util -i pk12_sunspot [-d certdir][-h “nCipher”][-P https-jones.redplanet.com-jones-]
-P must follow the -h option and be the last argument.
Enter the exact token name including capital letters and spaces between quotation marks.
Enter the database password.
Enter the pkcs12 command password. Starting the Server with an External Certificate
If you install a certificate into an external PKCS#11 module (for example, a hardware accelerator), the server is unable to start using the certificate until you edit the server.xml file, or specify the certificate name.
The server always tries to start with the “Server-Cert” certificate. Certificates in external PKCS#11 modules contains one of the module’s token names in their identifier. For example, a server certificate installed on an external smartcard reader called “smartcard0” would be named “smartcard0:Server-Cert.”
To start a server with a certificate installed in an external module, you need to specify the certificate name for the listen socket it runs on.