Switch for turning on the predictable "random" number generator.
[openssl.git] / FAQ
1 OpenSSL  -  Frequently Asked Questions
2 --------------------------------------
3
4 * Which is the current version of OpenSSL?
5 * Where is the documentation?
6 * How can I contact the OpenSSL developers?
7 * Do I need patent licenses to use OpenSSL?
8 * Is OpenSSL thread-safe?
9 * Why do I get a "PRNG not seeded" error message?
10 * Why does the linker complain about undefined symbols?
11 * Where can I get a compiled version of OpenSSL?
12
13
14 * Which is the current version of OpenSSL?
15
16 The current version is available from <URL: http://www.openssl.org>.
17 OpenSSL 0.9.5 was released on February 28th, 2000.
18
19 In addition to the current stable release, you can also access daily
20 snapshots of the OpenSSL development version at <URL:
21 ftp://ftp.openssl.org/snapshot/>, or get it by anonymous CVS access.
22
23
24 * Where is the documentation?
25
26 OpenSSL is a library that provides cryptographic functionality to
27 applications such as secure web servers.  Be sure to read the
28 documentation of the application you want to use.  The INSTALL file
29 explains how to install this library.
30
31 OpenSSL includes a command line utility that can be used to perform a
32 variety of cryptographic functions.  It is described in the openssl(1)
33 manpage.  Documentation for developers is currently being written.  A
34 few manual pages already are available; overviews over libcrypto and
35 libssl are given in the crypto(3) and ssl(3) manpages.
36
37 The OpenSSL manpages are installed in /usr/local/ssl/man/ (or a
38 different directory if you specified one as described in INSTALL).
39 In addition, you can read the most current versions at
40 <URL: http://www.openssl.org/docs/>.
41
42 For information on parts of libcrypto that are not yet documented, you
43 might want to read Ariel Glenn's documentation on SSLeay 0.9, OpenSSL's
44 predecessor, at <URL: http://www.columbia.edu/~ariel/ssleay/>.  Much
45 of this still applies to OpenSSL.
46
47 There is some documentation about certificate extensions and PKCS#12
48 in doc/openssl.txt
49
50 The original SSLeay documentation is included in OpenSSL as
51 doc/ssleay.txt.  It may be useful when none of the other resources
52 help, but please note that it reflects the obsolete version SSLeay
53 0.6.6.
54
55
56 * How can I contact the OpenSSL developers?
57
58 The README file describes how to submit bug reports and patches to
59 OpenSSL.  Information on the OpenSSL mailing lists is available from
60 <URL: http://www.openssl.org>.
61
62
63 * Do I need patent licenses to use OpenSSL?
64
65 The patents section of the README file lists patents that may apply to
66 you if you want to use OpenSSL.  For information on intellectual
67 property rights, please consult a lawyer.  The OpenSSL team does not
68 offer legal advice.
69
70 You can configure OpenSSL so as not to use RC5 and IDEA by using
71  ./config no-rc5 no-idea
72
73 Until the RSA patent expires, U.S. users may want to use
74  ./config no-rc5 no-idea no-rsa
75
76 Please note that you will *not* be able to communicate with most of
77 the popular web browsers without RSA support.
78
79
80 * Is OpenSSL thread-safe?
81
82 Yes.  On Windows and many Unix systems, OpenSSL automatically uses the
83 multi-threaded versions of the standard libraries.  If your platform
84 is not one of these, consult the INSTALL file.
85
86 Multi-threaded applications must provide two callback functions to
87 OpenSSL.  This is described in the threads(3) manpage.
88
89
90 * Why do I get a "PRNG not seeded" error message?
91
92 Cryptographic software needs a source of unpredictable data to work
93 correctly.  Many open source operating systems provide a "randomness
94 device" that serves this purpose.  On other systems, applications have
95 to call the RAND_add() or RAND_seed() function with appropriate data
96 before generating keys or performing public key encryption.
97
98 Some broken applications do not do this.  As of version 0.9.5, the
99 OpenSSL functions that need randomness report an error if the random
100 number generator has not been seeded with at least 128 bits of
101 randomness.  If this error occurs, please contact the author of the
102 application you are using.  It is likely that it never worked
103 correctly.  OpenSSL 0.9.5 makes the error visible by refusing to
104 perform potentially insecure encryption.
105
106
107 * Why does the linker complain about undefined symbols?
108
109 Maybe the compilation was interrupted, and make doesn't notice that
110 something is missing.  Run "make clean; make".
111
112 If you used ./Configure instead of ./config, make sure that you
113 selected the right target.  File formats may differ slightly between
114 OS versions (for example sparcv8/sparcv9, or a.out/elf).
115
116 If that doesn't help, you may want to try using the current snapshot.
117 If the problem persists, please submit a bug report.
118
119
120 * Where can I get a compiled version of OpenSSL?
121
122 Some applications that use OpenSSL are distributed in binary form.
123 When using such an application, you don't need to install OpenSSL
124 yourself; the application will include the required parts (e.g. DLLs).
125
126 If you want to install OpenSSL on a Windows system and you don't have
127 a C compiler, read the "Mingw32" section of INSTALL.W32 for information
128 on how to obtain and install the free GNU C compiler.
129
130 A number of Linux and *BSD distributions include OpenSSL.