Step 4 Import the Certificate into *.ks or *.p12

This step is not required if you work with a *.pem certificate.

Prerequisites

This command allows you to import the LogLogic® Universal Collector certificate and/or the root CA certificate in a *.ks or the LogLogic® Universal Collector certificate in a *.p12 certificate.

Procedure

  • Using the CLI provided by LogLogic, enter the command to format the file:

    <script-name> import

    [ -jks <file path of the *.ks> ]

    [ -p12 <file path of the *.p12 certificate> ]

    -pwd <mandatory password>

    [ -cert <file path of the UC certificate in *.pem format> ]

    [ -rootcert <file path of the root CA certificate in *.pem format> ]

    This command imports the LogLogic® Universal Collector certificate and/or the root CA.

    You can obtain a *.ks certificate file that contains a Certificate Authority, private key and the LogLogic® Universal Collector’s certificate or a *.p12 certificate binary code, which contains the LogLogic® Universal Collector’s certificate and a private key encrypted by a passphrase.

    For example: cert_mgt import -jks uc.ks -pwd loglogic -cert uc-cert.pem -rootcert ca.pem