etc/services - sync with NetBSD-8
[minix.git] / crypto / external / bsd / openssl / lib / libcrypto / man / openssl_ciphers.1
bloba27705d919699cd3927e0f3900e66eafb4178628
1 .\"     $NetBSD: openssl_ciphers.1,v 1.14 2015/06/12 17:01:14 christos Exp $
2 .\"
3 .\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
4 .\"
5 .\" Standard preamble:
6 .\" ========================================================================
7 .de Sp \" Vertical space (when we can't use .PP)
8 .if t .sp .5v
9 .if n .sp
11 .de Vb \" Begin verbatim text
12 .ft CW
13 .nf
14 .ne \\$1
16 .de Ve \" End verbatim text
17 .ft R
18 .fi
20 .\" Set up some character translations and predefined strings.  \*(-- will
21 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
22 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
23 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
24 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
25 .\" nothing in troff, for use with C<>.
26 .tr \(*W-
27 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
28 .ie n \{\
29 .    ds -- \(*W-
30 .    ds PI pi
31 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
32 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
33 .    ds L" ""
34 .    ds R" ""
35 .    ds C` ""
36 .    ds C' ""
37 'br\}
38 .el\{\
39 .    ds -- \|\(em\|
40 .    ds PI \(*p
41 .    ds L" ``
42 .    ds R" ''
43 .    ds C`
44 .    ds C'
45 'br\}
46 .\"
47 .\" Escape single quotes in literal strings from groff's Unicode transform.
48 .ie \n(.g .ds Aq \(aq
49 .el       .ds Aq '
50 .\"
51 .\" If the F register is turned on, we'll generate index entries on stderr for
52 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
53 .\" entries marked with X<> in POD.  Of course, you'll have to process the
54 .\" output yourself in some meaningful fashion.
55 .\"
56 .\" Avoid warning from groff about undefined register 'F'.
57 .de IX
59 .nr rF 0
60 .if \n(.g .if rF .nr rF 1
61 .if (\n(rF:(\n(.g==0)) \{
62 .    if \nF \{
63 .        de IX
64 .        tm Index:\\$1\t\\n%\t"\\$2"
66 .        if !\nF==2 \{
67 .            nr % 0
68 .            nr F 2
69 .        \}
70 .    \}
71 .\}
72 .rr rF
73 .\"
74 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
75 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
76 .    \" fudge factors for nroff and troff
77 .if n \{\
78 .    ds #H 0
79 .    ds #V .8m
80 .    ds #F .3m
81 .    ds #[ \f1
82 .    ds #] \fP
83 .\}
84 .if t \{\
85 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
86 .    ds #V .6m
87 .    ds #F 0
88 .    ds #[ \&
89 .    ds #] \&
90 .\}
91 .    \" simple accents for nroff and troff
92 .if n \{\
93 .    ds ' \&
94 .    ds ` \&
95 .    ds ^ \&
96 .    ds , \&
97 .    ds ~ ~
98 .    ds /
99 .\}
100 .if t \{\
101 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
102 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
103 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
104 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
105 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
106 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
108 .    \" troff and (daisy-wheel) nroff accents
109 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
110 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
111 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
112 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
113 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
114 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
115 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
116 .ds ae a\h'-(\w'a'u*4/10)'e
117 .ds Ae A\h'-(\w'A'u*4/10)'E
118 .    \" corrections for vroff
119 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
120 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
121 .    \" for low resolution devices (crt and lpr)
122 .if \n(.H>23 .if \n(.V>19 \
124 .    ds : e
125 .    ds 8 ss
126 .    ds o a
127 .    ds d- d\h'-1'\(ga
128 .    ds D- D\h'-1'\(hy
129 .    ds th \o'bp'
130 .    ds Th \o'LP'
131 .    ds ae ae
132 .    ds Ae AE
134 .rm #[ #] #H #V #F C
135 .\" ========================================================================
137 .IX Title "CIPHERS 1"
138 .TH CIPHERS 1 "2015-03-23" "1.0.1n" "OpenSSL"
139 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
140 .\" way too many mistakes in technical documents.
141 .if n .ad l
143 .SH "NAME"
144 ciphers \- SSL cipher display and cipher list tool.
145 .SH "LIBRARY"
146 libcrypto, -lcrypto
147 .SH "SYNOPSIS"
148 .IX Header "SYNOPSIS"
149 \&\fBopenssl\fR \fBciphers\fR
150 [\fB\-v\fR]
151 [\fB\-V\fR]
152 [\fB\-ssl2\fR]
153 [\fB\-ssl3\fR]
154 [\fB\-tls1\fR]
155 [\fBcipherlist\fR]
156 .SH "DESCRIPTION"
157 .IX Header "DESCRIPTION"
158 The \fBciphers\fR command converts textual OpenSSL cipher lists into ordered
159 \&\s-1SSL\s0 cipher preference lists. It can be used as a test tool to determine
160 the appropriate cipherlist.
161 .SH "COMMAND OPTIONS"
162 .IX Header "COMMAND OPTIONS"
163 .IP "\fB\-v\fR" 4
164 .IX Item "-v"
165 Verbose option. List ciphers with a complete description of
166 protocol version (SSLv2 or SSLv3; the latter includes \s-1TLS\s0), key exchange,
167 authentication, encryption and mac algorithms used along with any key size
168 restrictions and whether the algorithm is classed as an \*(L"export\*(R" cipher.
169 Note that without the \fB\-v\fR option, ciphers may seem to appear twice
170 in a cipher list; this is when similar ciphers are available for
171 \&\s-1SSL\s0 v2 and for \s-1SSL\s0 v3/TLS v1.
172 .IP "\fB\-V\fR" 4
173 .IX Item "-V"
174 Like \fB\-v\fR, but include cipher suite codes in output (hex format).
175 .IP "\fB\-ssl3\fR" 4
176 .IX Item "-ssl3"
177 only include \s-1SSL\s0 v3 ciphers.
178 .IP "\fB\-ssl2\fR" 4
179 .IX Item "-ssl2"
180 only include \s-1SSL\s0 v2 ciphers.
181 .IP "\fB\-tls1\fR" 4
182 .IX Item "-tls1"
183 only include \s-1TLS\s0 v1 ciphers.
184 .IP "\fB\-h\fR, \fB\-?\fR" 4
185 .IX Item "-h, -?"
186 print a brief usage message.
187 .IP "\fBcipherlist\fR" 4
188 .IX Item "cipherlist"
189 a cipher list to convert to a cipher preference list. If it is not included
190 then the default cipher list will be used. The format is described below.
191 .SH "CIPHER LIST FORMAT"
192 .IX Header "CIPHER LIST FORMAT"
193 The cipher list consists of one or more \fIcipher strings\fR separated by colons.
194 Commas or spaces are also acceptable separators but colons are normally used.
196 The actual cipher string can take several different forms.
198 It can consist of a single cipher suite such as \fB\s-1RC4\-SHA\s0\fR.
200 It can represent a list of cipher suites containing a certain algorithm, or
201 cipher suites of a certain type. For example \fB\s-1SHA1\s0\fR represents all ciphers
202 suites using the digest algorithm \s-1SHA1\s0 and \fBSSLv3\fR represents all \s-1SSL\s0 v3
203 algorithms.
205 Lists of cipher suites can be combined in a single cipher string using the
206 \&\fB+\fR character. This is used as a logical \fBand\fR operation. For example
207 \&\fB\s-1SHA1+DES\s0\fR represents all cipher suites containing the \s-1SHA1 \s0\fBand\fR the \s-1DES\s0
208 algorithms.
210 Each cipher string can be optionally preceded by the characters \fB!\fR,
211 \&\fB\-\fR or \fB+\fR.
213 If \fB!\fR is used then the ciphers are permanently deleted from the list.
214 The ciphers deleted can never reappear in the list even if they are
215 explicitly stated.
217 If \fB\-\fR is used then the ciphers are deleted from the list, but some or
218 all of the ciphers can be added again by later options.
220 If \fB+\fR is used then the ciphers are moved to the end of the list. This
221 option doesn't add any new ciphers it just moves matching existing ones.
223 If none of these characters is present then the string is just interpreted
224 as a list of ciphers to be appended to the current preference list. If the
225 list includes any ciphers already present they will be ignored: that is they
226 will not moved to the end of the list.
228 Additionally the cipher string \fB\f(CB@STRENGTH\fB\fR can be used at any point to sort
229 the current cipher list in order of encryption algorithm key length.
230 .SH "CIPHER STRINGS"
231 .IX Header "CIPHER STRINGS"
232 The following is a list of all permitted cipher strings and their meanings.
233 .IP "\fB\s-1DEFAULT\s0\fR" 4
234 .IX Item "DEFAULT"
235 the default cipher list. This is determined at compile time and
236 is normally \fB\s-1ALL:\s0!EXPORT:!aNULL:!eNULL:!SSLv2\fR. This must be the firstcipher string
237 specified.
238 .IP "\fB\s-1COMPLEMENTOFDEFAULT\s0\fR" 4
239 .IX Item "COMPLEMENTOFDEFAULT"
240 the ciphers included in \fB\s-1ALL\s0\fR, but not enabled by default. Currently
241 this is \fB\s-1ADH\s0\fR and \fB\s-1AECDH\s0\fR. Note that this rule does not cover \fBeNULL\fR,
242 which is not included by \fB\s-1ALL\s0\fR (use \fB\s-1COMPLEMENTOFALL\s0\fR if necessary).
243 .IP "\fB\s-1ALL\s0\fR" 4
244 .IX Item "ALL"
245 all cipher suites except the \fBeNULL\fR ciphers which must be explicitly enabled;
246 as of OpenSSL, the \fB\s-1ALL\s0\fR cipher suites are reasonably ordered by default
247 .IP "\fB\s-1COMPLEMENTOFALL\s0\fR" 4
248 .IX Item "COMPLEMENTOFALL"
249 the cipher suites not enabled by \fB\s-1ALL\s0\fR, currently being \fBeNULL\fR.
250 .IP "\fB\s-1HIGH\s0\fR" 4
251 .IX Item "HIGH"
252 \&\*(L"high\*(R" encryption cipher suites. This currently means those with key lengths larger
253 than 128 bits, and some cipher suites with 128\-bit keys.
254 .IP "\fB\s-1MEDIUM\s0\fR" 4
255 .IX Item "MEDIUM"
256 \&\*(L"medium\*(R" encryption cipher suites, currently some of those using 128 bit encryption.
257 .IP "\fB\s-1LOW\s0\fR" 4
258 .IX Item "LOW"
259 \&\*(L"low\*(R" encryption cipher suites, currently those using 64 or 56 bit encryption algorithms
260 but excluding export cipher suites.
261 .IP "\fB\s-1EXP\s0\fR, \fB\s-1EXPORT\s0\fR" 4
262 .IX Item "EXP, EXPORT"
263 export encryption algorithms. Including 40 and 56 bits algorithms.
264 .IP "\fB\s-1EXPORT40\s0\fR" 4
265 .IX Item "EXPORT40"
266 40 bit export encryption algorithms
267 .IP "\fB\s-1EXPORT56\s0\fR" 4
268 .IX Item "EXPORT56"
269 56 bit export encryption algorithms. In OpenSSL 0.9.8c and later the set of
270 56 bit export ciphers is empty unless OpenSSL has been explicitly configured
271 with support for experimental ciphers.
272 .IP "\fBeNULL\fR, \fB\s-1NULL\s0\fR" 4
273 .IX Item "eNULL, NULL"
274 the \*(L"\s-1NULL\*(R"\s0 ciphers that is those offering no encryption. Because these offer no
275 encryption at all and are a security risk they are disabled unless explicitly
276 included.
277 .IP "\fBaNULL\fR" 4
278 .IX Item "aNULL"
279 the cipher suites offering no authentication. This is currently the anonymous
280 \&\s-1DH\s0 algorithms and anonymous \s-1ECDH\s0 algorithms. These cipher suites are vulnerable
281 to a \*(L"man in the middle\*(R" attack and so their use is normally discouraged.
282 .IP "\fBkRSA\fR, \fB\s-1RSA\s0\fR" 4
283 .IX Item "kRSA, RSA"
284 cipher suites using \s-1RSA\s0 key exchange.
285 .IP "\fBkDHr\fR, \fBkDHd\fR, \fBkDH\fR" 4
286 .IX Item "kDHr, kDHd, kDH"
287 cipher suites using \s-1DH\s0 key agreement and \s-1DH\s0 certificates signed by CAs with \s-1RSA\s0
288 and \s-1DSS\s0 keys or either respectively. Not implemented.
289 .IP "\fBkEDH\fR" 4
290 .IX Item "kEDH"
291 cipher suites using ephemeral \s-1DH\s0 key agreement, including anonymous cipher
292 suites.
293 .IP "\fB\s-1EDH\s0\fR" 4
294 .IX Item "EDH"
295 cipher suites using authenticated ephemeral \s-1DH\s0 key agreement.
296 .IP "\fB\s-1ADH\s0\fR" 4
297 .IX Item "ADH"
298 anonymous \s-1DH\s0 cipher suites, note that this does not include anonymous Elliptic
299 Curve \s-1DH \s0(\s-1ECDH\s0) cipher suites.
300 .IP "\fB\s-1DH\s0\fR" 4
301 .IX Item "DH"
302 cipher suites using \s-1DH,\s0 including anonymous \s-1DH,\s0 ephemeral \s-1DH\s0 and fixed \s-1DH.\s0
303 .IP "\fBkECDHr\fR, \fBkECDHe\fR, \fBkECDH\fR" 4
304 .IX Item "kECDHr, kECDHe, kECDH"
305 cipher suites using fixed \s-1ECDH\s0 key agreement signed by CAs with \s-1RSA\s0 and \s-1ECDSA\s0
306 keys or either respectively.
307 .IP "\fBkEECDH\fR" 4
308 .IX Item "kEECDH"
309 cipher suites using ephemeral \s-1ECDH\s0 key agreement, including anonymous
310 cipher suites.
311 .IP "\fB\s-1EECDHE\s0\fR" 4
312 .IX Item "EECDHE"
313 cipher suites using authenticated ephemeral \s-1ECDH\s0 key agreement.
314 .IP "\fB\s-1AECDH\s0\fR" 4
315 .IX Item "AECDH"
316 anonymous Elliptic Curve Diffie Hellman cipher suites.
317 .IP "\fB\s-1ECDH\s0\fR" 4
318 .IX Item "ECDH"
319 cipher suites using \s-1ECDH\s0 key exchange, including anonymous, ephemeral and
320 fixed \s-1ECDH.\s0
321 .IP "\fBaRSA\fR" 4
322 .IX Item "aRSA"
323 cipher suites using \s-1RSA\s0 authentication, i.e. the certificates carry \s-1RSA\s0 keys.
324 .IP "\fBaDSS\fR, \fB\s-1DSS\s0\fR" 4
325 .IX Item "aDSS, DSS"
326 cipher suites using \s-1DSS\s0 authentication, i.e. the certificates carry \s-1DSS\s0 keys.
327 .IP "\fBaDH\fR" 4
328 .IX Item "aDH"
329 cipher suites effectively using \s-1DH\s0 authentication, i.e. the certificates carry
330 \&\s-1DH\s0 keys.  Not implemented.
331 .IP "\fBaECDH\fR" 4
332 .IX Item "aECDH"
333 cipher suites effectively using \s-1ECDH\s0 authentication, i.e. the certificates
334 carry \s-1ECDH\s0 keys.
335 .IP "\fBaECDSA\fR, \fB\s-1ECDSA\s0\fR" 4
336 .IX Item "aECDSA, ECDSA"
337 cipher suites using \s-1ECDSA\s0 authentication, i.e. the certificates carry \s-1ECDSA\s0
338 keys.
339 .IP "\fBkFZA\fR, \fBaFZA\fR, \fBeFZA\fR, \fB\s-1FZA\s0\fR" 4
340 .IX Item "kFZA, aFZA, eFZA, FZA"
341 ciphers suites using \s-1FORTEZZA\s0 key exchange, authentication, encryption or all
342 \&\s-1FORTEZZA\s0 algorithms. Not implemented.
343 .IP "\fBTLSv1.2\fR, \fBTLSv1\fR, \fBSSLv3\fR, \fBSSLv2\fR" 4
344 .IX Item "TLSv1.2, TLSv1, SSLv3, SSLv2"
345 \&\s-1TLS\s0 v1.2, \s-1TLS\s0 v1.0, \s-1SSL\s0 v3.0 or \s-1SSL\s0 v2.0 cipher suites respectively. Note:
346 there are no ciphersuites specific to \s-1TLS\s0 v1.1.
347 .IP "\fB\s-1AES128\s0\fR, \fB\s-1AES256\s0\fR, \fB\s-1AES\s0\fR" 4
348 .IX Item "AES128, AES256, AES"
349 cipher suites using 128 bit \s-1AES, 256\s0 bit \s-1AES\s0 or either 128 or 256 bit \s-1AES.\s0
350 .IP "\fB\s-1AESGCM\s0\fR" 4
351 .IX Item "AESGCM"
352 \&\s-1AES\s0 in Galois Counter Mode (\s-1GCM\s0): these ciphersuites are only supported
353 in \s-1TLS\s0 v1.2.
354 .IP "\fB\s-1CAMELLIA128\s0\fR, \fB\s-1CAMELLIA256\s0\fR, \fB\s-1CAMELLIA\s0\fR" 4
355 .IX Item "CAMELLIA128, CAMELLIA256, CAMELLIA"
356 cipher suites using 128 bit \s-1CAMELLIA, 256\s0 bit \s-1CAMELLIA\s0 or either 128 or 256 bit
357 \&\s-1CAMELLIA.\s0
358 .IP "\fB3DES\fR" 4
359 .IX Item "3DES"
360 cipher suites using triple \s-1DES.\s0
361 .IP "\fB\s-1DES\s0\fR" 4
362 .IX Item "DES"
363 cipher suites using \s-1DES \s0(not triple \s-1DES\s0).
364 .IP "\fB\s-1RC4\s0\fR" 4
365 .IX Item "RC4"
366 cipher suites using \s-1RC4.\s0
367 .IP "\fB\s-1RC2\s0\fR" 4
368 .IX Item "RC2"
369 cipher suites using \s-1RC2.\s0
370 .IP "\fB\s-1IDEA\s0\fR" 4
371 .IX Item "IDEA"
372 cipher suites using \s-1IDEA.\s0
373 .IP "\fB\s-1SEED\s0\fR" 4
374 .IX Item "SEED"
375 cipher suites using \s-1SEED.\s0
376 .IP "\fB\s-1MD5\s0\fR" 4
377 .IX Item "MD5"
378 cipher suites using \s-1MD5.\s0
379 .IP "\fB\s-1SHA1\s0\fR, \fB\s-1SHA\s0\fR" 4
380 .IX Item "SHA1, SHA"
381 cipher suites using \s-1SHA1.\s0
382 .IP "\fB\s-1SHA256\s0\fR, \fB\s-1SHA384\s0\fR" 4
383 .IX Item "SHA256, SHA384"
384 ciphersuites using \s-1SHA256\s0 or \s-1SHA384.\s0
385 .IP "\fBaGOST\fR" 4
386 .IX Item "aGOST"
387 cipher suites using \s-1GOST R 34.10 \s0(either 2001 or 94) for authenticaction
388 (needs an engine supporting \s-1GOST\s0 algorithms).
389 .IP "\fBaGOST01\fR" 4
390 .IX Item "aGOST01"
391 cipher suites using \s-1GOST R 34.10\-2001\s0 authentication.
392 .IP "\fBaGOST94\fR" 4
393 .IX Item "aGOST94"
394 cipher suites using \s-1GOST R 34.10\-94\s0 authentication (note that R 34.10\-94
395 standard has been expired so use \s-1GOST R 34.10\-2001\s0)
396 .IP "\fBkGOST\fR" 4
397 .IX Item "kGOST"
398 cipher suites, using \s-1VKO 34.10\s0 key exchange, specified in the \s-1RFC 4357.\s0
399 .IP "\fB\s-1GOST94\s0\fR" 4
400 .IX Item "GOST94"
401 cipher suites, using \s-1HMAC\s0 based on \s-1GOST R 34.11\-94.\s0
402 .IP "\fB\s-1GOST89MAC\s0\fR" 4
403 .IX Item "GOST89MAC"
404 cipher suites using \s-1GOST 28147\-89 MAC \s0\fBinstead of\fR \s-1HMAC.\s0
405 .IP "\fB\s-1PSK\s0\fR" 4
406 .IX Item "PSK"
407 cipher suites using pre-shared keys (\s-1PSK\s0).
408 .SH "CIPHER SUITE NAMES"
409 .IX Header "CIPHER SUITE NAMES"
410 The following lists give the \s-1SSL\s0 or \s-1TLS\s0 cipher suites names from the
411 relevant specification and their OpenSSL equivalents. It should be noted,
412 that several cipher suite names do not include the authentication used,
413 e.g. \s-1DES\-CBC3\-SHA.\s0 In these cases, \s-1RSA\s0 authentication is used.
414 .SS "\s-1SSL\s0 v3.0 cipher suites."
415 .IX Subsection "SSL v3.0 cipher suites."
416 .Vb 10
417 \& SSL_RSA_WITH_NULL_MD5                   NULL\-MD5
418 \& SSL_RSA_WITH_NULL_SHA                   NULL\-SHA
419 \& SSL_RSA_EXPORT_WITH_RC4_40_MD5          EXP\-RC4\-MD5
420 \& SSL_RSA_WITH_RC4_128_MD5                RC4\-MD5
421 \& SSL_RSA_WITH_RC4_128_SHA                RC4\-SHA
422 \& SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5      EXP\-RC2\-CBC\-MD5
423 \& SSL_RSA_WITH_IDEA_CBC_SHA               IDEA\-CBC\-SHA
424 \& SSL_RSA_EXPORT_WITH_DES40_CBC_SHA       EXP\-DES\-CBC\-SHA
425 \& SSL_RSA_WITH_DES_CBC_SHA                DES\-CBC\-SHA
426 \& SSL_RSA_WITH_3DES_EDE_CBC_SHA           DES\-CBC3\-SHA
428 \& SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA    Not implemented.
429 \& SSL_DH_DSS_WITH_DES_CBC_SHA             Not implemented.
430 \& SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA        Not implemented.
431 \& SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA    Not implemented.
432 \& SSL_DH_RSA_WITH_DES_CBC_SHA             Not implemented.
433 \& SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA        Not implemented.
434 \& SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA   EXP\-EDH\-DSS\-DES\-CBC\-SHA
435 \& SSL_DHE_DSS_WITH_DES_CBC_SHA            EDH\-DSS\-CBC\-SHA
436 \& SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA       EDH\-DSS\-DES\-CBC3\-SHA
437 \& SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA   EXP\-EDH\-RSA\-DES\-CBC\-SHA
438 \& SSL_DHE_RSA_WITH_DES_CBC_SHA            EDH\-RSA\-DES\-CBC\-SHA
439 \& SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA       EDH\-RSA\-DES\-CBC3\-SHA
441 \& SSL_DH_anon_EXPORT_WITH_RC4_40_MD5      EXP\-ADH\-RC4\-MD5
442 \& SSL_DH_anon_WITH_RC4_128_MD5            ADH\-RC4\-MD5
443 \& SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA   EXP\-ADH\-DES\-CBC\-SHA
444 \& SSL_DH_anon_WITH_DES_CBC_SHA            ADH\-DES\-CBC\-SHA
445 \& SSL_DH_anon_WITH_3DES_EDE_CBC_SHA       ADH\-DES\-CBC3\-SHA
447 \& SSL_FORTEZZA_KEA_WITH_NULL_SHA          Not implemented.
448 \& SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA  Not implemented.
449 \& SSL_FORTEZZA_KEA_WITH_RC4_128_SHA       Not implemented.
451 .SS "\s-1TLS\s0 v1.0 cipher suites."
452 .IX Subsection "TLS v1.0 cipher suites."
453 .Vb 10
454 \& TLS_RSA_WITH_NULL_MD5                   NULL\-MD5
455 \& TLS_RSA_WITH_NULL_SHA                   NULL\-SHA
456 \& TLS_RSA_EXPORT_WITH_RC4_40_MD5          EXP\-RC4\-MD5
457 \& TLS_RSA_WITH_RC4_128_MD5                RC4\-MD5
458 \& TLS_RSA_WITH_RC4_128_SHA                RC4\-SHA
459 \& TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5      EXP\-RC2\-CBC\-MD5
460 \& TLS_RSA_WITH_IDEA_CBC_SHA               IDEA\-CBC\-SHA
461 \& TLS_RSA_EXPORT_WITH_DES40_CBC_SHA       EXP\-DES\-CBC\-SHA
462 \& TLS_RSA_WITH_DES_CBC_SHA                DES\-CBC\-SHA
463 \& TLS_RSA_WITH_3DES_EDE_CBC_SHA           DES\-CBC3\-SHA
465 \& TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA    Not implemented.
466 \& TLS_DH_DSS_WITH_DES_CBC_SHA             Not implemented.
467 \& TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA        Not implemented.
468 \& TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA    Not implemented.
469 \& TLS_DH_RSA_WITH_DES_CBC_SHA             Not implemented.
470 \& TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA        Not implemented.
471 \& TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA   EXP\-EDH\-DSS\-DES\-CBC\-SHA
472 \& TLS_DHE_DSS_WITH_DES_CBC_SHA            EDH\-DSS\-CBC\-SHA
473 \& TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA       EDH\-DSS\-DES\-CBC3\-SHA
474 \& TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA   EXP\-EDH\-RSA\-DES\-CBC\-SHA
475 \& TLS_DHE_RSA_WITH_DES_CBC_SHA            EDH\-RSA\-DES\-CBC\-SHA
476 \& TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA       EDH\-RSA\-DES\-CBC3\-SHA
478 \& TLS_DH_anon_EXPORT_WITH_RC4_40_MD5      EXP\-ADH\-RC4\-MD5
479 \& TLS_DH_anon_WITH_RC4_128_MD5            ADH\-RC4\-MD5
480 \& TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA   EXP\-ADH\-DES\-CBC\-SHA
481 \& TLS_DH_anon_WITH_DES_CBC_SHA            ADH\-DES\-CBC\-SHA
482 \& TLS_DH_anon_WITH_3DES_EDE_CBC_SHA       ADH\-DES\-CBC3\-SHA
484 .SS "\s-1AES\s0 ciphersuites from \s-1RFC3268,\s0 extending \s-1TLS\s0 v1.0"
485 .IX Subsection "AES ciphersuites from RFC3268, extending TLS v1.0"
486 .Vb 2
487 \& TLS_RSA_WITH_AES_128_CBC_SHA            AES128\-SHA
488 \& TLS_RSA_WITH_AES_256_CBC_SHA            AES256\-SHA
490 \& TLS_DH_DSS_WITH_AES_128_CBC_SHA         Not implemented.
491 \& TLS_DH_DSS_WITH_AES_256_CBC_SHA         Not implemented.
492 \& TLS_DH_RSA_WITH_AES_128_CBC_SHA         Not implemented.
493 \& TLS_DH_RSA_WITH_AES_256_CBC_SHA         Not implemented.
495 \& TLS_DHE_DSS_WITH_AES_128_CBC_SHA        DHE\-DSS\-AES128\-SHA
496 \& TLS_DHE_DSS_WITH_AES_256_CBC_SHA        DHE\-DSS\-AES256\-SHA
497 \& TLS_DHE_RSA_WITH_AES_128_CBC_SHA        DHE\-RSA\-AES128\-SHA
498 \& TLS_DHE_RSA_WITH_AES_256_CBC_SHA        DHE\-RSA\-AES256\-SHA
500 \& TLS_DH_anon_WITH_AES_128_CBC_SHA        ADH\-AES128\-SHA
501 \& TLS_DH_anon_WITH_AES_256_CBC_SHA        ADH\-AES256\-SHA
503 .SS "Camellia ciphersuites from \s-1RFC4132,\s0 extending \s-1TLS\s0 v1.0"
504 .IX Subsection "Camellia ciphersuites from RFC4132, extending TLS v1.0"
505 .Vb 2
506 \& TLS_RSA_WITH_CAMELLIA_128_CBC_SHA      CAMELLIA128\-SHA
507 \& TLS_RSA_WITH_CAMELLIA_256_CBC_SHA      CAMELLIA256\-SHA
509 \& TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   Not implemented.
510 \& TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   Not implemented.
511 \& TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   Not implemented.
512 \& TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   Not implemented.
514 \& TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA  DHE\-DSS\-CAMELLIA128\-SHA
515 \& TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA  DHE\-DSS\-CAMELLIA256\-SHA
516 \& TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA  DHE\-RSA\-CAMELLIA128\-SHA
517 \& TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA  DHE\-RSA\-CAMELLIA256\-SHA
519 \& TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA  ADH\-CAMELLIA128\-SHA
520 \& TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA  ADH\-CAMELLIA256\-SHA
522 .SS "\s-1SEED\s0 ciphersuites from \s-1RFC4162,\s0 extending \s-1TLS\s0 v1.0"
523 .IX Subsection "SEED ciphersuites from RFC4162, extending TLS v1.0"
524 .Vb 1
525 \& TLS_RSA_WITH_SEED_CBC_SHA              SEED\-SHA
527 \& TLS_DH_DSS_WITH_SEED_CBC_SHA           Not implemented.
528 \& TLS_DH_RSA_WITH_SEED_CBC_SHA           Not implemented.
530 \& TLS_DHE_DSS_WITH_SEED_CBC_SHA          DHE\-DSS\-SEED\-SHA
531 \& TLS_DHE_RSA_WITH_SEED_CBC_SHA          DHE\-RSA\-SEED\-SHA
533 \& TLS_DH_anon_WITH_SEED_CBC_SHA          ADH\-SEED\-SHA
535 .SS "\s-1GOST\s0 ciphersuites from draft-chudov-cryptopro-cptls, extending \s-1TLS\s0 v1.0"
536 .IX Subsection "GOST ciphersuites from draft-chudov-cryptopro-cptls, extending TLS v1.0"
537 Note: these ciphers require an engine which including \s-1GOST\s0 cryptographic
538 algorithms, such as the \fBccgost\fR engine, included in the OpenSSL distribution.
540 .Vb 4
541 \& TLS_GOSTR341094_WITH_28147_CNT_IMIT GOST94\-GOST89\-GOST89
542 \& TLS_GOSTR341001_WITH_28147_CNT_IMIT GOST2001\-GOST89\-GOST89
543 \& TLS_GOSTR341094_WITH_NULL_GOSTR3411 GOST94\-NULL\-GOST94
544 \& TLS_GOSTR341001_WITH_NULL_GOSTR3411 GOST2001\-NULL\-GOST94
546 .SS "Additional Export 1024 and other cipher suites"
547 .IX Subsection "Additional Export 1024 and other cipher suites"
548 Note: these ciphers can also be used in \s-1SSL\s0 v3.
550 .Vb 5
551 \& TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA     EXP1024\-DES\-CBC\-SHA
552 \& TLS_RSA_EXPORT1024_WITH_RC4_56_SHA      EXP1024\-RC4\-SHA
553 \& TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA EXP1024\-DHE\-DSS\-DES\-CBC\-SHA
554 \& TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA  EXP1024\-DHE\-DSS\-RC4\-SHA
555 \& TLS_DHE_DSS_WITH_RC4_128_SHA            DHE\-DSS\-RC4\-SHA
557 .SS "Elliptic curve cipher suites."
558 .IX Subsection "Elliptic curve cipher suites."
559 .Vb 5
560 \& TLS_ECDH_RSA_WITH_NULL_SHA              ECDH\-RSA\-NULL\-SHA
561 \& TLS_ECDH_RSA_WITH_RC4_128_SHA           ECDH\-RSA\-RC4\-SHA
562 \& TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA      ECDH\-RSA\-DES\-CBC3\-SHA
563 \& TLS_ECDH_RSA_WITH_AES_128_CBC_SHA       ECDH\-RSA\-AES128\-SHA
564 \& TLS_ECDH_RSA_WITH_AES_256_CBC_SHA       ECDH\-RSA\-AES256\-SHA
566 \& TLS_ECDH_ECDSA_WITH_NULL_SHA            ECDH\-ECDSA\-NULL\-SHA
567 \& TLS_ECDH_ECDSA_WITH_RC4_128_SHA         ECDH\-ECDSA\-RC4\-SHA
568 \& TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA    ECDH\-ECDSA\-DES\-CBC3\-SHA
569 \& TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA     ECDH\-ECDSA\-AES128\-SHA
570 \& TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA     ECDH\-ECDSA\-AES256\-SHA
572 \& TLS_ECDHE_RSA_WITH_NULL_SHA             ECDHE\-RSA\-NULL\-SHA
573 \& TLS_ECDHE_RSA_WITH_RC4_128_SHA          ECDHE\-RSA\-RC4\-SHA
574 \& TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA     ECDHE\-RSA\-DES\-CBC3\-SHA
575 \& TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA      ECDHE\-RSA\-AES128\-SHA
576 \& TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA      ECDHE\-RSA\-AES256\-SHA
578 \& TLS_ECDHE_ECDSA_WITH_NULL_SHA           ECDHE\-ECDSA\-NULL\-SHA
579 \& TLS_ECDHE_ECDSA_WITH_RC4_128_SHA        ECDHE\-ECDSA\-RC4\-SHA
580 \& TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA   ECDHE\-ECDSA\-DES\-CBC3\-SHA
581 \& TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA    ECDHE\-ECDSA\-AES128\-SHA
582 \& TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA    ECDHE\-ECDSA\-AES256\-SHA
584 \& TLS_ECDH_anon_WITH_NULL_SHA             AECDH\-NULL\-SHA
585 \& TLS_ECDH_anon_WITH_RC4_128_SHA          AECDH\-RC4\-SHA
586 \& TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA     AECDH\-DES\-CBC3\-SHA
587 \& TLS_ECDH_anon_WITH_AES_128_CBC_SHA      AECDH\-AES128\-SHA
588 \& TLS_ECDH_anon_WITH_AES_256_CBC_SHA      AECDH\-AES256\-SHA
590 .SS "\s-1TLS\s0 v1.2 cipher suites"
591 .IX Subsection "TLS v1.2 cipher suites"
592 .Vb 1
593 \& TLS_RSA_WITH_NULL_SHA256                  NULL\-SHA256
595 \& TLS_RSA_WITH_AES_128_CBC_SHA256           AES128\-SHA256
596 \& TLS_RSA_WITH_AES_256_CBC_SHA256           AES256\-SHA256
597 \& TLS_RSA_WITH_AES_128_GCM_SHA256           AES128\-GCM\-SHA256
598 \& TLS_RSA_WITH_AES_256_GCM_SHA384           AES256\-GCM\-SHA384
600 \& TLS_DH_RSA_WITH_AES_128_CBC_SHA256        Not implemented.
601 \& TLS_DH_RSA_WITH_AES_256_CBC_SHA256        Not implemented.
602 \& TLS_DH_RSA_WITH_AES_128_GCM_SHA256        Not implemented.
603 \& TLS_DH_RSA_WITH_AES_256_GCM_SHA384        Not implemented.
605 \& TLS_DH_DSS_WITH_AES_128_CBC_SHA256        Not implemented.
606 \& TLS_DH_DSS_WITH_AES_256_CBC_SHA256        Not implemented.
607 \& TLS_DH_DSS_WITH_AES_128_GCM_SHA256        Not implemented.
608 \& TLS_DH_DSS_WITH_AES_256_GCM_SHA384        Not implemented.
610 \& TLS_DHE_RSA_WITH_AES_128_CBC_SHA256       DHE\-RSA\-AES128\-SHA256
611 \& TLS_DHE_RSA_WITH_AES_256_CBC_SHA256       DHE\-RSA\-AES256\-SHA256
612 \& TLS_DHE_RSA_WITH_AES_128_GCM_SHA256       DHE\-RSA\-AES128\-GCM\-SHA256
613 \& TLS_DHE_RSA_WITH_AES_256_GCM_SHA384       DHE\-RSA\-AES256\-GCM\-SHA384
615 \& TLS_DHE_DSS_WITH_AES_128_CBC_SHA256       DHE\-DSS\-AES128\-SHA256
616 \& TLS_DHE_DSS_WITH_AES_256_CBC_SHA256       DHE\-DSS\-AES256\-SHA256
617 \& TLS_DHE_DSS_WITH_AES_128_GCM_SHA256       DHE\-DSS\-AES128\-GCM\-SHA256
618 \& TLS_DHE_DSS_WITH_AES_256_GCM_SHA384       DHE\-DSS\-AES256\-GCM\-SHA384
620 \& TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256      ECDH\-RSA\-AES128\-SHA256
621 \& TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384      ECDH\-RSA\-AES256\-SHA384
622 \& TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256      ECDH\-RSA\-AES128\-GCM\-SHA256
623 \& TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384      ECDH\-RSA\-AES256\-GCM\-SHA384
625 \& TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256    ECDH\-ECDSA\-AES128\-SHA256
626 \& TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384    ECDH\-ECDSA\-AES256\-SHA384
627 \& TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256    ECDH\-ECDSA\-AES128\-GCM\-SHA256
628 \& TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384    ECDH\-ECDSA\-AES256\-GCM\-SHA384
630 \& TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256     ECDHE\-RSA\-AES128\-SHA256
631 \& TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384     ECDHE\-RSA\-AES256\-SHA384
632 \& TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256     ECDHE\-RSA\-AES128\-GCM\-SHA256
633 \& TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384     ECDHE\-RSA\-AES256\-GCM\-SHA384
635 \& TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256   ECDHE\-ECDSA\-AES128\-SHA256
636 \& TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384   ECDHE\-ECDSA\-AES256\-SHA384
637 \& TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   ECDHE\-ECDSA\-AES128\-GCM\-SHA256
638 \& TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   ECDHE\-ECDSA\-AES256\-GCM\-SHA384
640 \& TLS_DH_anon_WITH_AES_128_CBC_SHA256       ADH\-AES128\-SHA256
641 \& TLS_DH_anon_WITH_AES_256_CBC_SHA256       ADH\-AES256\-SHA256
642 \& TLS_DH_anon_WITH_AES_128_GCM_SHA256       ADH\-AES128\-GCM\-SHA256
643 \& TLS_DH_anon_WITH_AES_256_GCM_SHA384       ADH\-AES256\-GCM\-SHA384
645 .SS "Pre shared keying (\s-1PSK\s0) cipheruites"
646 .IX Subsection "Pre shared keying (PSK) cipheruites"
647 .Vb 4
648 \& TLS_PSK_WITH_RC4_128_SHA                  PSK\-RC4\-SHA
649 \& TLS_PSK_WITH_3DES_EDE_CBC_SHA             PSK\-3DES\-EDE\-CBC\-SHA
650 \& TLS_PSK_WITH_AES_128_CBC_SHA              PSK\-AES128\-CBC\-SHA
651 \& TLS_PSK_WITH_AES_256_CBC_SHA              PSK\-AES256\-CBC\-SHA
653 .SS "Deprecated \s-1SSL\s0 v2.0 cipher suites."
654 .IX Subsection "Deprecated SSL v2.0 cipher suites."
655 .Vb 7
656 \& SSL_CK_RC4_128_WITH_MD5                 RC4\-MD5
657 \& SSL_CK_RC4_128_EXPORT40_WITH_MD5        EXP\-RC4\-MD5
658 \& SSL_CK_RC2_128_CBC_WITH_MD5             RC2\-MD5
659 \& SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5    EXP\-RC2\-MD5
660 \& SSL_CK_IDEA_128_CBC_WITH_MD5            IDEA\-CBC\-MD5
661 \& SSL_CK_DES_64_CBC_WITH_MD5              DES\-CBC\-MD5
662 \& SSL_CK_DES_192_EDE3_CBC_WITH_MD5        DES\-CBC3\-MD5
664 .SH "NOTES"
665 .IX Header "NOTES"
666 The non-ephemeral \s-1DH\s0 modes are currently unimplemented in OpenSSL
667 because there is no support for \s-1DH\s0 certificates.
669 Some compiled versions of OpenSSL may not include all the ciphers
670 listed here because some ciphers were excluded at compile time.
671 .SH "EXAMPLES"
672 .IX Header "EXAMPLES"
673 Verbose listing of all OpenSSL ciphers including \s-1NULL\s0 ciphers:
675 .Vb 1
676 \& openssl ciphers \-v \*(AqALL:eNULL\*(Aq
679 Include all ciphers except \s-1NULL\s0 and anonymous \s-1DH\s0 then sort by
680 strength:
682 .Vb 1
683 \& openssl ciphers \-v \*(AqALL:!ADH:@STRENGTH\*(Aq
686 Include all ciphers except ones with no encryption (eNULL) or no
687 authentication (aNULL):
689 .Vb 1
690 \& openssl ciphers \-v \*(AqALL:!aNULL\*(Aq
693 Include only 3DES ciphers and then place \s-1RSA\s0 ciphers last:
695 .Vb 1
696 \& openssl ciphers \-v \*(Aq3DES:+RSA\*(Aq
699 Include all \s-1RC4\s0 ciphers but leave out those without authentication:
701 .Vb 1
702 \& openssl ciphers \-v \*(AqRC4:!COMPLEMENTOFDEFAULT\*(Aq
705 Include all chiphers with \s-1RSA\s0 authentication but leave out ciphers without
706 encryption.
708 .Vb 1
709 \& openssl ciphers \-v \*(AqRSA:!COMPLEMENTOFALL\*(Aq
711 .SH "SEE ALSO"
712 .IX Header "SEE ALSO"
713 \&\fIopenssl_s_client\fR\|(1), \fIopenssl_s_server\fR\|(1), \fIssl\fR\|(3)
714 .SH "HISTORY"
715 .IX Header "HISTORY"
716 The \fB\s-1COMPLENTOFALL\s0\fR and \fB\s-1COMPLEMENTOFDEFAULT\s0\fR selection options
717 for cipherlist strings were added in OpenSSL 0.9.7.
718 The \fB\-V\fR option for the \fBciphers\fR command was added in OpenSSL 1.0.0.