1
.\" **************************************************************************
3
.\" * Project ___| | | | _ \| |
4
.\" * / __| | | | |_) | |
5
.\" * | (__| |_| | _ <| |___
6
.\" * \___|\___/|_| \_\_____|
8
.\" * Copyright (C) 2008 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
10
.\" * This software is licensed as described in the file COPYING, which
11
.\" * you should have received as part of this distribution. The terms
12
.\" * are also available at http://curl.haxx.se/docs/copyright.html.
14
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15
.\" * copies of the Software, and permit persons to whom the Software is
16
.\" * furnished to do so, under the terms of the COPYING file.
18
.\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
.\" * KIND, either express or implied.
21
.\" **************************************************************************
23
.TH mk-ca-bundle 1 "5 Jan 2013" "version 1.17" "mk-ca-bundle manual"
25
mk-ca-bundle \- convert mozilla's certdata.txt to PEM format
27
mk-ca-bundle [bilnqtuv]
30
The mk-ca-bundle tool downloads the certdata.txt file from Mozilla's source
31
tree over HTTP, then parses certdata.txt and extracts CA Root Certificates
32
into PEM format. These are then processed with the OpenSSL commandline tool
33
to produce the final ca-bundle file.
35
The default \fIoutputfile\fP name is \fBca-bundle.crt\fP. By setting it to '-'
36
(a single dash) you will get the output sent to STDOUT instead of a file.
38
The PEM format this scripts uses for output makes the result readily available
39
for use by just about all OpenSSL or GnuTLS powered applications, such as
42
The following options are supported:
44
backup an existing version of \fIoutputfilename\fP
46
force rebuild even if certdata.txt is current (Added in version 1.17)
48
print version info about used modules
50
print license info about certdata.txt
52
no download of certdata.txt (to use existing)
54
be really quiet (no progress output at all)
56
include plain text listing of certificates
58
unlink (remove) certdata.txt after processing
60
be verbose and print out processed CAs
62
Returns 0 on success. Returns 1 if it fails to download data.
66
\fBmk-ca-bundle\fP is a command line tool that is shipped as part of every
67
curl and libcurl release (see http://curl.haxx.se/). It was originally based
68
on the parse-certs script written by Roland Krikava and was later much
69
improved by Guenter Knauf. This manual page was written by Jan Schaumann
70
\&<jschauma@netmeister.org>.