2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright 2018 Allan Jude <allanjude@freebsd.org>
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted providing that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
23 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24 .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 .\" POSSIBILITY OF SUCH DAMAGE.
34 .Nd "tool for managing trusted and untrusted TLS certificates"
56 utility manages the list of TLS Certificate Authorities that are trusted by
57 applications that use OpenSSL.
62 Specify the DESTDIR (overriding values from the environment).
64 Specify the DISTBASE (overriding values from the environment).
66 Specify the path of the METALOG file (default: $DESTDIR/METALOG).
68 No-Op mode, do not actually perform any actions.
70 Be verbose, print details about actions before performing them.
72 Unprivileged mode, do not change the ownership of created links.
73 Do record the ownership in the METALOG file.
76 Primary command functions:
77 .Bl -tag -width untrusted
79 List all currently trusted certificate authorities.
81 List all currently untrusted certificates.
83 Rebuild the list of trusted certificate authorities by scanning all directories
86 and all untrusted certificates in
88 A symbolic link to each trusted certificate is placed in
90 and each untrusted certificate in
93 Add the specified file to the untrusted list.
95 Remove the specified file from the untrusted list.
98 .Bl -tag -width UNTRUSTDESTDIR
100 Alternate destination directory to operate on.
102 Additional path component to include when operating on certificate directories.
104 List of paths to search for trusted certificates.
106 .Pa <DESTDIR><DISTBASE>/usr/share/certs/trusted
107 .Pa <DESTDIR><DISTBASE>/usr/local/share/certs
108 .Pa <DESTDIR><DISTBASE>/usr/local/etc/ssl/certs
110 List of paths to search for untrusted certificates.
112 .Pa <DESTDIR><DISTBASE>/usr/share/certs/untrusted
113 .Pa <DESTDIR><DISTBASE>/usr/local/etc/ssl/untrusted
114 .Pa <DESTDIR><DISTBASE>/usr/local/etc/ssl/blacklisted
116 Destination directory for symbolic links to trusted certificates.
118 .Pa <DESTDIR><DISTBASE>/etc/ssl/certs
119 .It Ev UNTRUSTDESTDIR
120 Destination directory for symbolic links to untrusted certificates.
122 .Pa <DESTDIR><DISTBASE>/etc/ssl/untrusted
124 List of file extensions to read as certificate files.
125 Default: *.pem *.crt *.cer *.crl *.0
134 .An Allan Jude Aq Mt allanjude@freebsd.org