Generate new certificates from an existing Certificate Authority (CA)
About this task
If you need to generate new certificates from an existing Certificate Authority (CA), you can use Certman to generate the required certificates. In this case, the capath parameter is required and you need to provide the path of the existing ca.crt and ca.key files.
Procedure
- Browse to the following path: <image_location>/TWS/<interp_name>/Tivoli_LWA_<interp_name>\TWS\bin
-
Generate the new certificates by running the following command:
certman generate -keypasswd <pwd> -outpath <output path> [-capath <ca path>] [-wauser <user>] [-wagroup <group>]Where:
- keypasswd
- Specify the password to encrypt the private key.
- outpath
- Specify the folder where generate the certificates.
- capath
- Specify the path where ca.crt and ca.key files are stored.
- wauser
- Optionally, specify the TWS_user that must be set as owner of the output files.
- wagroup
- Optionally, specify the TWS_user
that must be set as group of the output files..Note: To specify an owner and group in wauser and wagroup parameters, the user who launches Certman must have the permissions to change the owner and group on output files.
Results
-
- tls.crt
- The certificate signed and validated by the CA.
-
- tls.key
- The private key of the tls certificate.
-
- tls.sth
- The stash file of the tls certificate that contains the password encoded in Base64 format.