2013-01-06 03:15:36 +04:00
|
|
|
.\" **************************************************************************
|
|
|
|
.\" * _ _ ____ _
|
|
|
|
.\" * Project ___| | | | _ \| |
|
|
|
|
.\" * / __| | | | |_) | |
|
|
|
|
.\" * | (__| |_| | _ <| |___
|
|
|
|
.\" * \___|\___/|_| \_\_____|
|
|
|
|
.\" *
|
|
|
|
.\" * Copyright (C) 2008 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
.\" *
|
|
|
|
.\" * This software is licensed as described in the file COPYING, which
|
|
|
|
.\" * you should have received as part of this distribution. The terms
|
|
|
|
.\" * are also available at http://curl.haxx.se/docs/copyright.html.
|
|
|
|
.\" *
|
|
|
|
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
.\" * copies of the Software, and permit persons to whom the Software is
|
|
|
|
.\" * furnished to do so, under the terms of the COPYING file.
|
|
|
|
.\" *
|
|
|
|
.\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
.\" * KIND, either express or implied.
|
|
|
|
.\" *
|
|
|
|
.\" **************************************************************************
|
|
|
|
.\"
|
|
|
|
.TH mk-ca-bundle 1 "5 Jan 2013" "version 1.17" "mk-ca-bundle manual"
|
|
|
|
.SH NAME
|
|
|
|
mk-ca-bundle \- convert mozilla's certdata.txt to PEM format
|
|
|
|
.SH SYNOPSIS
|
|
|
|
mk-ca-bundle [bilnqtuv]
|
|
|
|
.I [outputfile]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
The mk-ca-bundle tool downloads the certdata.txt file from Mozilla's source
|
|
|
|
tree over HTTP, then parses certdata.txt and extracts CA Root Certificates
|
|
|
|
into PEM format. These are then processed with the OpenSSL commandline tool
|
|
|
|
to produce the final ca-bundle file.
|
2013-01-06 02:49:29 +04:00
|
|
|
|
|
|
|
The default \fIoutputfile\fP name is \fBca-bundle.crt\fP. By setting it to '-'
|
|
|
|
(a single dash) you will get the output sent to STDOUT instead of a file.
|
|
|
|
|
|
|
|
The PEM format this scripts uses for output makes the result readily available
|
|
|
|
for use by just about all OpenSSL or GnuTLS powered applications, such as
|
|
|
|
curl, wget and more.
|
2013-01-06 03:15:36 +04:00
|
|
|
.SH OPTIONS
|
|
|
|
The following options are supported:
|
|
|
|
.IP -b
|
|
|
|
backup an existing version of \fIoutputfilename\fP
|
|
|
|
.IP -f
|
2013-01-06 02:49:29 +04:00
|
|
|
force rebuild even if certdata.txt is current (Added in version 1.17)
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -i
|
2012-04-27 21:49:40 +04:00
|
|
|
print version info about used modules
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -l
|
2012-04-27 21:49:40 +04:00
|
|
|
print license info about certdata.txt
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -n
|
2012-04-27 21:49:40 +04:00
|
|
|
no download of certdata.txt (to use existing)
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -q
|
2012-04-27 21:49:40 +04:00
|
|
|
be really quiet (no progress output at all)
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -t
|
2012-04-27 21:49:40 +04:00
|
|
|
include plain text listing of certificates
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -u
|
2012-04-27 21:49:40 +04:00
|
|
|
unlink (remove) certdata.txt after processing
|
2013-01-06 03:15:36 +04:00
|
|
|
.IP -v
|
2012-04-27 21:49:40 +04:00
|
|
|
be verbose and print out processed CAs
|
2013-01-06 03:15:36 +04:00
|
|
|
.SH EXIT STATUS
|
|
|
|
Returns 0 on success. Returns 1 if it fails to download data.
|
|
|
|
.SH SEE ALSO
|
|
|
|
.BR curl (1)
|
|
|
|
.SH HISTORY
|
|
|
|
\fBmk-ca-bundle\fP is a command line tool that is shipped as part of every
|
|
|
|
curl and libcurl release (see http://curl.haxx.se/). It was originally based
|
|
|
|
on the parse-certs script written by Roland Krikava and was later much
|
|
|
|
improved by Guenter Knauf. This manual page was written by Jan Schaumann
|
|
|
|
\&<jschauma@netmeister.org>.
|