You can install PKCS #11 modules in the form of .jar files or object files using the modutil tool.
Make sure that all servers, including the Administration Server, have been stopped.
Go to the server-root/alias directory containing the databases.
Add server-root/bin/proxy/admin/bin to your PATH.
Locate modutil in server-root/bin/proxy/admin/bin.
Set the environment.
On UNIX: setenv
LD_LIBRARY_PATH server-root/bin/proxy/lib:${LD_LIBRARY_PATH}
On Windows, add it to the PATH
LD_LIBRARY_PATH server-root/bin/proxy/bin
You can find the PATH for your computer listed underserver-root/proxy-admserv/start.
In a terminal window, type modutil.
The options will be listed.
Perform the actions required.
For example, to add the PKCS #11 module in UNIX, enter:
modutil -add (name of PKCS#11 file) -libfile (your libfile for PKCS #11) -nocertdb -dbdir . (your db directory)