getcert
getcert start-tracking [options]
Tells certmonger to monitor an already-issued certificate. Optionally, when the certificate nears expiration, use an existing key pair (or to generate one if one is not already found in the specified location), to generate a signing request using the key pair and to submit them for signing to a CA.
-i NAME
Modify the request which has this nickname. If this option is
not specified, and a tracking entry which matches the key and
certificate storage options which are specified already exists,
that entry will be modified. Otherwise, a new tracking entry
will be added.
-d DIR Use an NSS database in the specified directory for reading this
certificate and, if possible, the corresponding key.
-n NAME
Use the certificate with this nickname, and if a private key
with the same nickname or which corresponds to the certificate
is available, to use it, too. Only valid with -d.
-t TOKEN
If the NSS database has more than one token available, use the
token with this name for accessing the certificate and key.
This argument only rarely needs to be specified. Only valid
with -d.
-f FILE
Read the certificate from this file. For safety's sake, do not
use the same file specified with the -k option.
-k FILE
Use the key stored in this file to generate a signing request
for refreshing the certificate. If no such file is found when
needed, generate a new key pair and store them in the file.
Only valid with -f.
-p FILE
The private key files or databases are encrypted using the PIN
stored in the named file as the passphrase.
-P PIN The private key files or databases are encrypted using the
specified PIN as the passphrase. Because command-line arguments
to running processes are trivially discoverable, use of this
option is not recommended except for testing.
-I NAME
Assign the specified nickname to this task. If this option is
not specified, a name will be assigned automatically.
-r Attempt to obtain a new certificate from the CA when the
expiration date of a certificate nears. This is the default
setting.
-R Don't attempt to obtain a new certificate from the CA when the
expiration date of a certificate nears. If this option is
specified, an expired certificate will simply stay expired.
-c NAME
Enroll with the specified CA rather than a possible default.
The name of the CA should correspond to one listed by getcert
list-cas. Only useful in combination with -r.
-T NAME
Request a certificate using the named profile, template, or
certtype, from the specified CA.
If and when certmonger attempts to obtain a new certificate to replace
the one being monitored, the values to be added to the signing request
will be taken from the current certificate, unless preferred values are
set using one or more of -uU, -K, -E, and -D.
-u keyUsage
Add an extensionRequest for the specified keyUsage to the
signing request. The keyUsage value is expected to be one of
these names:
digitalSignature
nonRepudiation
keyEncipherment
dataEncipherment
keyAgreement
keyCertSign
cRLSign
encipherOnly
decipherOnly
-U EKU Add an extensionRequest for the specified extendedKeyUsage to
the signing request. The EKU value is expected to be an object
identifier (OID).
-K NAME
Add an extensionRequest for a subjectAltName, with the specified
Kerberos principal name as its value, to the signing request.
-E EMAIL
Add an extensionRequest for a subjectAltName, with the specified
email address as its value, to the signing request.
-D DNSNAME
Add an extensionRequest for a subjectAltName, with the specified
DNS name as its value, to the signing request. -A ADDRESS Add
an extensionRequest for a subjectAltName, with the specified IP
address as its value, to the signing request.
-l FILE
Add an optional ChallengePassword value, read from the file, to
the signing request. A ChallengePassword is often required when
the CA is accessed using SCEP.
-L PIN Add the argument value to the signing request as a
ChallengePassword attribute. A ChallengePassword is often
required when the CA is accessed using SCEP.
-B COMMAND
When ever the certificate or the CA's certificates are saved to
the specified locations, run the specified command as the client
user before saving the certificates.
-C COMMAND
When ever the certificate or the CA's certificates are saved to
the specified locations, run the specified command as the client
user after saving the certificates.
-a DIR When ever the certificate is saved to the specified location, if
root certificates for the CA are available, save them to the
specified NSS database.
-F FILE
When ever the certificate is saved to the specified location, if
root certificates for the CA are available, and when the local
copies of the CA's root certificates are updated, save them to
the specified file.
-w Wait for the certificate to become valid or to be reissued and
saved, or for the attempt to obtain a new one to fail.
-v Be verbose about errors. Normally, the details of an error
received from the daemon will be suppressed if the client can
make a diagnostic suggestion.
Locations specified for key and certificate storage need to be accessible to the certmonger daemon process. When run as a system daemon on a system which uses a mandatory access control mechanism such as SELinux, the system policy must ensure that the daemon is allowed to access the locations where certificates and keys that it will manage will be stored (these locations are typically labeled as cert_t or an equivalent). More SELinux-specific information can be found in the selinux.txt documentation file for this package.
Please file tickets for any that you find at https://fedorahosted.org/certmonger/
certmonger(8) getcert(1) getcert-add-ca(1) getcert-add-scep-ca(1) getcert-list-cas(1) getcert-list(1) getcert-modify-ca(1) getcert- refresh-ca(1) getcert-refresh(1) getcert-remove-ca(1) getcert- request(1) getcert-resubmit(1) getcert-status(1) getcert-stop- tracking(1) certmonger-certmaster-submit(8) certmonger-dogtag-ipa- renew-agent-submit(8) certmonger-dogtag-submit(8) certmonger-ipa- submit(8) certmonger-local-submit(8) certmonger-scep-submit(8) certmonger_selinux(8)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.