cimtrust man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

cimtrust(1M)							  cimtrust(1M)

NAME
       cimtrust	 - Add, remove or list X509 certificates in a PEM format trust
       store.

SYNOPSIS
       cimtrust -a [ -U certuser ] -f file -T ( a | e | s )

       cimtrust -r -i issuer ( -n serialnumber | -S subject )

       cimtrust -l [ -i issuer [ -n serialnumber | -S subject ] ]

       cimtrust --help

       cimtrust --version

   Remarks
       The cimtrust command requires that the cimserver is running. This  com‐
       mand operates on a truststore on the local system only.

DESCRIPTION
       The add option of the cimtrust command adds an X509 certificate file of
       a specified type	 to the truststore. The certuser specifies  the	 user‐
       name to be associated with the certificate in the file.	If no certuser
       is specified, the certificate may not be used to authenticate a user.

       The remove option of the cimtrust command  removes  the	X509  certifi‐
       cate(s)	matching  the specified issuer and either serialnumber or sub‐
       ject from the truststore.

       The list option of the cimtrust command lists the X509 certificates  in
       the  truststore.	 The list can be filtered by issuer and either serial‐
       number or subject.

   Options
       cimtrust recognizes the following options:

	      -a	     Adds a certificate to  the	  truststore.  If  the
			     specified file does not contain a valid X509 cer‐
			     tificate an error	message	 is  returned  and  no
			     action  is taken. If the X509 certificate already
			     exists in the truststore,	an  error  message  is
			     returned.

	      -r	     Removes  certificate(s)  from  the truststore. If
			     the  truststore  contains	multiple  certificates
			     matching  the  specified  issuer and subject, all
			     the matching certificates are removed. If no cer‐
			     tificate  exists  for  the	 specified  issuer and
			     either serialnumber or subject , an error message
			     is returned and no action is taken.

	      -l	     Displays the X509 certificates in the truststore.

	      -f file	     Specifies	a  PEM	format file containing an X509
			     certificate.

	      -U certuser    Specifies a username to be	 associated  with  the
			     specified	certificate.   The  username specified
			     should be a valid system user on the target  sys‐
			     tem.

	      -i issuer	     Specifies the issuer name of the certificate.

	      -n serialnumber
			     Specifies the serial number of the certificate.

	      -S subject     Specifies the subject name of the certificate.

	      -T ( a | e | s )
			     Specifies	the  type  of  a certificate. The type
			     must be one of the following:

			     authority (a): root/intermediate  authority  cer‐
			     tificates. Certificates of this type are added to
			     the trusted certificate store.  The  certuser  is
			     optional  for authority certificates.  If no cer‐
			     tuser is specified, the certificate  may  not  be
			     used to authenticate a user.

			     authority	issued end-entity (e): Certificates of
			     this type are not added to the  trusted  certifi‐
			     cate  store. The certuser is required for author‐
			     ity issued end-entity certificates.

			     Self-signed identity  certificate	(s):  Certifi‐
			     cates  of this type are added to the trusted cer‐
			     tificate store.  The  certuser  is	 required  for
			     self-signed identity certificates.

	      --help	     Displays the command help message.

	      --version	     Displays the CIM Server version.

EXIT STATUS
       When an error occurs, an error message is written to the standard error
       stream and a non-zero exit status value is returned. The following exit
       status values are defined:

	      0	     Success

	      1	     General error

	      2	     Connection failed

	      3	     Connection timed out

	      4	     Certificate already exists

	      5	     Certificate does not exist

	      6	     Invalid system user

EXAMPLES
       Add  the X509 self-signed identity certificate in the cert.pem file and
       associate it to certuser guest. This certificate will be added  to  the
       trusted certificate store:

       cimtrust -a -U guest -f cert.pem -T s

       Add  the	 X509 authority root CA certificate in the ca.pem file with no
       certuser association. This certificate will be  added  to  the  trusted
       certificate store but may not be used to authenticate a user:

       cimtrust -a -f ca.pem -T a

       Add  the	 X509  authority issued end-entity certificate in the user.pem
       file and associate it to certuser pegasus. This certificate may be used
       to  authenticate user pegasus but will not be added to the trusted cer‐
       tificate store:

       cimtrust -a -f user.pem -U pegasus -T e

       Remove the certificate matching the specified issuer  and  serialnumber
       from the trust store:

       cimtrust	    -r	   -i	 "/C=US/ST=California/L=Cupertino/O=Smart    &
       Secure/OU=Secure Software Division/CN=dev.admin.ss.com" -n 01

       Remove the certificate(s) matching the  specified  issuer  and  subject
       from the trust store:

       cimtrust	    -r	   -i	 "/C=US/ST=California/L=Cupertino/O=Smart    &
       Secure/OU=Secure	    Software	 Division/CN=dev.admin.ss.com"	    -S
       "/C=US/ST=California/L=Cupertino/O=Smart	 &  Secure/OU=Secure  Software
       Division/CN=dev.admin.ss.com"

       List all the X509 certificates in the trust store:

       cimtrust -l


AUTHOR
       was developed by	 the  Open  Group  OpenPegasus	Open  Source  Software
       project.

SEE ALSO
       cimserver(1M), cimconfig(1M).

								  cimtrust(1M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net