1 .if !'po4a'hide' .TH security_file_certgen 8
4 security_file_certgen \- SSL certificate generator for Squid.
9 .if !'po4a'hide' .B security_file_certgen
10 .if !'po4a'hide' .B [\-dhv]
12 .if !'po4a'hide' .B security_file_certgen
13 .if !'po4a'hide' .B "[\-d] \-s "
15 .if !'po4a'hide' .B "[\-M "
19 .if !'po4a'hide' .B security_file_certgen
20 .if !'po4a'hide' .B "[\-d] \-c \-s "
22 .if !'po4a'hide' .B "[\-n "
26 .if !'po4a'hide' .B security_file_certgen
27 .if !'po4a'hide' .B "[\-d] \-g \-s "
31 .B security_file_certgen
32 is an installed binary.
34 Because the generation and signing of SSL certificates takes time
35 Squid must use external process to handle the work.
37 This process generates new SSL certificates and uses a disk cache of certificatess
38 to improve response times on repeated requests.
39 Communication occurs via TCP sockets bound to the loopback interface.
42 .if !'po4a'hide' .TP 12
43 .if !'po4a'hide' .B \-b fs_block_size
44 File system block size in bytes. Needed for processing natural size of certificate on disk.
45 Default value is 2048 bytes.
48 .if !'po4a'hide' .B \-c
49 Initialize the SSL storage database and exit.
52 option to determine the storage location being created.
55 .if !'po4a'hide' .B \-d
56 Write debug info to stderr.
59 .if !'po4a'hide' .B \-g
60 Display the current serial number using stderr and exit.
63 option to determine which storage directory the serial is located in.
66 .if !'po4a'hide' .B \-h
67 Display the binary help and command line syntax info using stderr.
70 .if !'po4a'hide' .B \-s directory
71 Directory path of disk storage for new SSL certificates.
74 .if !'po4a'hide' .B \-M size
75 Maximum size of SSL certificate disk storage.
78 .if !'po4a'hide' .B \-n serial number
81 to use when initializing an SSL storage database.
82 The default value of serial number is the number of seconds since Epoch minus 1200000000.
85 .if !'po4a'hide' .B \-v
86 Display the binary version details using stderr.
90 .B SSL errors after changing the CA
93 Certificates are stored in this database in signed form.
94 After any change to the signing CA in squid.conf be sure to erase and re-initialize the certificate database.
97 .B Certificate chaining
100 The version 1.0 of this helper will not add chained intermediate CA certificates.
101 The client must have a full chain of trust from the root CA all the way
102 down to the end certificate generated by this program.
104 Signing with an intermediate CA needs to install both the
105 root and the intermediate public CA on the clients.
109 Before this helper can be used the storage area for new certificates must be initialized manually.
110 This is done from the command line using the
117 .if !'po4a'hide' .B @DEFAULT_SSL_CRTD@ -c -s @DEFAULT_SSL_DB_DIR@
121 Certificates are stored in this database in signed form.
122 After any change to the signing CA in squid.conf be sure to erase and re-initialize the certificate database.
125 For simple configuration the helper defaults can be used.
126 Only HTTP listening port options are required to enable generation and set the signign CA certificate.
129 .if !'po4a'hide' .B http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=@SYSCONFDIR@/ssl_cert/example.com.pem
133 For more customized configuration the helper certificate storage directory location and size can be altered with the
135 configuration directive.
138 .if !'po4a'hide' .B sslcrtd_program @DEFAULT_SSL_CRTD@ -s @DEFAULT_SSL_DB_DIR@ -M 4MB
140 .if !'po4a'hide' .B sslcrtd_children 5
144 This program was written by
145 .if !'po4a'hide' .I Christos Tsantilas <christos@chtsanti.net>
147 This manual was written by
148 .if !'po4a'hide' .I Christos Tsantilas <christos@chtsanti.net>
149 .if !'po4a'hide' .I Amos Jeffries <squid3@treenet.co.nz>
153 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
155 * Squid software is distributed under GPLv2+ license and includes
156 * contributions from numerous individuals and organizations.
157 * Please see the COPYING and CONTRIBUTORS files for details.
160 Questions on the usage of this program can be sent to the
161 .I Squid Users mailing list
162 .if !'po4a'hide' <squid-users@squid-cache.org>
165 Bug reports need to be made in English.
166 See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
168 Report bugs or bug fixes using http://bugs.squid-cache.org/
170 Report serious security bugs to
171 .I Squid Bugs <squid-bugs@squid-cache.org>
173 Report ideas for new improvements to the
174 .I Squid Developers mailing list
175 .if !'po4a'hide' <squid-dev@squid-cache.org>
178 .if !'po4a'hide' .BR squid "(8), "
179 .if !'po4a'hide' .BR GPL "(7), "
182 .if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq
184 The Squid Configuration Manual
185 .if !'po4a'hide' http://www.squid-cache.org/Doc/config/