Unix/Linux Go Back    

CentOS 7.0 - man page for strongimcv_pki---pub (centos section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

PKI --PUB(1)				    strongSwan				     PKI --PUB(1)

       pki --pub - Extract a public key from a private key or certificate

       pki --pub [--in file|--keyid hex] [--type type] [--outform encoding] [--debug level]

       pki --pub --options file

       pki --pub -h | --help

       This sub-command of pki(1) extracts public keys from a private keys and certificates.

       -h, --help
	      Print usage information with a summary of the available options.

       -v, --debug level
	      Set debug level, default: 1.

       -+, --options file
	      Read command line options from file.

       -i, --in file
	      Input file. If not given the input is read from STDIN.

       -t, --type type
	      Type of input. One of rsa (RSA private key), ecdsa (ECDSA private key), pub (public
	      key), pkcs10 (PKCS#10 certificate request), or x509 (X.509  certificate),  defaults
	      to rsa.

       -f, --outform encoding
	      Encoding	of  the  extracted  public key. One of der (ASN.1 DER), pem (Base64 PEM),
	      dnskey (RFC 3110 DNS key), or sshkey (RFC 4253 SSH key), defaults to der.

       Extract the public key from an RSA private key:

	 pki --pub --in key.der > pub.der

       Extract the public key from an X.509 certificate:

	 pki --pub --in cert.der --type x509 > pub.der


5.1.1					    2013-07-31				     PKI --PUB(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:38 PM.