SYNOPSIS
xca [-v] [-d] [-x]xca extract <database> <type> <name>
DESCRIPTION
This application is intended as CA, certificate- and Key store. It uses a single file to store the items. Supported are Certificate signing requests (PKCS#10), Certificates (X509v3), RSA, DSA and EC keys and Certificate revocation lists. The signing of requests, and the creation of selfsigned certificates is supported. Both can use templates for simplicity. The PKI structures can be imported and exported in several formats like PKCS#12, PEM, DER, PKCS#8, PKCS#7.XCA enables users to manage smartcards via the PKCS#11 interface
OPTIONS
A summary of options are included below. There are some deprecated legacy options: [-k] [-r] [-c] [-p] [-7] [-l] [-t] [-P]Before XCA 0.9.0, the type of the items had to be given. This was removed since. Just put all keys, certs, requests and the database unsorted on the commandline. For backwards compatibility those options are ignored when found.
- -v
- Show version information and exit.
- -d
- expect the following argument to be a new database to use.
- -x
-
Exit after processing all commandline options.
Usually after importing the items from commandline
the application will startup as usual. With the
-x
option given it will exit after finishing the import dialog. This is useful if xca is used as default application for viewing certificates, keys or requests.
- xca extract <database> <type> <name>
- extracts the item with internal name <name> and the type cert req or crl from the database database in PEM format to <STDOUT>