GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PKI---PUB (1)

NAME

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

CONTENTS

SYNOPSIS

[--in file|--keyid hex] --options~file -h | --help

DESCRIPTION

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

OPTIONS

-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.

EXAMPLES

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

SEE ALSO

pki(1)
Search for    or go to Top of page |  Section 1 |  Main Index


5.4.0 PKI --PUB (1) 2013-07-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.