Try OpenEdge Now
skip to main content
Java Open Clients
Java Open Client Certificate Management Utility : Managing certificate store files
 

Managing certificate store files

The procertm utility is run from a command line and has the following syntax:
Syntax
procertm [options]cert_store
options
Any combination of the following, in any order:
*-v — Prints verbose information about the progress of the digital certificates 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 below.
*-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 below.
*-r cert — Removes the certificate file(s) matching cert from cert_store. You can specify this option multiple times. See the definition of cert below.
*-d — Sets the working directory path where certificates are imported from or exported to. The default is the current working directory.
cert
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 a relative path 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
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 options is specified.