Try OpenEdge Now
skip to main content
Getting Started
Setting Up Secure Communications : Using the procertm utility : Managing the trust keystore with procertm
 

Managing the trust keystore with procertm

You run the procertm utility from a command line using the following syntax:

Syntax

procertm [options] cert_store
Where:
cert
The path to the digital certificate you want to import, export, or remove. This is used with the -i, -e, and -r options. When importing, the path is relative to the working directory. When exporting or removing digital certificates from cert_store, the path is the full digital certificate path specified in cert_store. Subdirectories should be specified with a forward slash (/). You can use multicharacter (*) and single-character (?) wildcards in the cert filename and file extension.
cert_store
The path to the zip or jar certificate store file. If the certificate store file does not exist, and you are importing digital certificates, a new file is created.
When you run procertm, it performs the options in the following order:
1. Imports any certificates specified with the -i option from the working directory into cert_store. If a certificate is not found, a warning message displays.
2. Exports any certificates specified with the -e option from cert_store to the working directory. If a certificate is not found, a warning message displays.
3. Removes any certificates specified with the -r option from cert_store. If a certificate is not found, a warning message displays.
4. Shows the resulting cert_store file contents, if the -l option is specified.
5. Prints any digital certificate list information, if the -p option is specified.
You can provide the following options in any combination and in any order:
-v
Prints verbose information about the progress of the digital certificate's import and export. When used with -l, additional digital certificate field information is printed.
-l
Lists the contents of the cert_store file after all import, export, and remove operations are completed.
-p
Prints the digital certificate list the cert_store contents to the file cert_store.dcl, after all import, export and remove operations are completed.
-i cert
Imports certificate file(s) matching cert to cert_store from the working directory. The cert_store file is created as required. You can specify this option multiple times. See the definition of cert.
-e cert
Exports the certificate file(s) matching cert from cert_store to the working directory. Any subdirectories are created if required. You can specify this option multiple times. See the definition of cert.
-r cert
Removes the certificate file(s) matching cert from cert_store. You can specify this option multiple times. See the definition of cert.
-d
Sets the working directory path where certificates are imported from or exported to. The default is the current working directory.