xref: /titanic_50/usr/src/man/man1m/wanboot_p12split.1m (revision 356f72340a69936724c69f2f87fffa6f5887f885)
te
Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
WANBOOT_P12SPLIT 1M "Apr 18, 2003"
NAME
wanboot_p12split - split a PKCS #12 file into separate certificate and key files
SYNOPSIS

/usr/lib/inet/wanboot/p12split -i p12file -c out_cert -k out_key
 [-t out_trust -l id -v]
DESCRIPTION

The p12split utility extracts a certificate and private key from the repository specified by p12file, depositing the certificate in out_cert and the key in out_key. If supplied, the -l option specifies the value for the LocalKeyId that will be used in the new certificate and key files. p12split can optionally extract a trust certificate into the out_trust file if the -t option is specified. Use the -v option to get a verbose description of the split displayed to standard output.

OPTIONS

The following arguments and options are supported: -c out_cert

Specifies a repository that receives a extracted certificate.

-i p12file

Specifies a repository from which a certificate and private key is extracted.

-k out_key

Specifies a repository that receives a extracted private key.

-l id

Specifies the value for the LocalKeyId that will be used in the new certificate and key files.

-t out_trust

Specifies a file for receiving an extracted trust certificate.

-v

Displays a verbose description of the split to stdout.

EXIT STATUS
0

Successful operation.

>0

An error occurred.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Unstable
SEE ALSO

attributes(5)