Small corrections.
This commit is contained in:
parent
06064bb512
commit
33d50ef662
10
INSTALL
10
INSTALL
@ -133,7 +133,7 @@
|
|||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
This will create the installation directory (if it does not exist) and
|
This will create the installation directory (if it does not exist) and
|
||||||
then create the following subdirectories:
|
then the following subdirectories:
|
||||||
|
|
||||||
certs Initially empty, this is the default location
|
certs Initially empty, this is the default location
|
||||||
for certificate files.
|
for certificate files.
|
||||||
@ -141,14 +141,14 @@
|
|||||||
private Initially empty, this is the default location
|
private Initially empty, this is the default location
|
||||||
for private key files.
|
for private key files.
|
||||||
|
|
||||||
If you didn't chose a different installation prefix, lib also contains
|
If you didn't chose a different installation prefix, the
|
||||||
the library files themselves, and the following additional subdirectories
|
following additional subdirectories will be created:
|
||||||
will be created:
|
|
||||||
|
|
||||||
bin Contains the openssl binary and a few other
|
bin Contains the openssl binary and a few other
|
||||||
utility programs.
|
utility programs.
|
||||||
include/openssl Contains the header files needed if you want to
|
include/openssl Contains the header files needed if you want to
|
||||||
compile programs with libcrypto or libssl.
|
compile programs with libcrypto or libssl.
|
||||||
|
lib Contains the OpenSSL library files themselves.
|
||||||
|
|
||||||
Package builders who want to configure the library for standard
|
Package builders who want to configure the library for standard
|
||||||
locations, but have the package installed somewhere else so that
|
locations, but have the package installed somewhere else so that
|
||||||
@ -236,7 +236,7 @@
|
|||||||
necessary).
|
necessary).
|
||||||
|
|
||||||
On other systems, to enable support for multi-threading, you will have
|
On other systems, to enable support for multi-threading, you will have
|
||||||
to specifiy at least two options: "threads", and a system-dependent option.
|
to specify at least two options: "threads", and a system-dependent option.
|
||||||
(The latter is "-D_REENTRANT" on various systems.) The default in this
|
(The latter is "-D_REENTRANT" on various systems.) The default in this
|
||||||
case, obviously, is not to include support for multi-threading (but
|
case, obviously, is not to include support for multi-threading (but
|
||||||
you can still use "no-threads" to suppress an annoying warning message
|
you can still use "no-threads" to suppress an annoying warning message
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
this is tested on Win32 but it may also work in Win 3.1 with some
|
this is tested on Win32 but it may also work in Win 3.1 with some
|
||||||
modification. See the end of this file for Eric's original comments.
|
modification. See the end of this file for Eric's original comments.
|
||||||
|
|
||||||
You will Perl for Win32 (available from http://activestate.com/ActivePerl)
|
You need Perl for Win32 (available from http://activestate.com/ActivePerl)
|
||||||
and one of the following C compilers:
|
and one of the following C compilers:
|
||||||
|
|
||||||
* Visual C++
|
* Visual C++
|
||||||
|
@ -52,7 +52,7 @@ Cipher Suite Description Determination.
|
|||||||
|
|
||||||
=item B<crl>
|
=item B<crl>
|
||||||
|
|
||||||
Certificate Revokation List (CRL) Management.
|
Certificate Revocation List (CRL) Management.
|
||||||
|
|
||||||
=item B<crl2pkcs7>
|
=item B<crl2pkcs7>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ typedef struct buf_mem_st
|
|||||||
|
|
||||||
'length' is the current size of the buffer in bytes, 'max' is the amount of
|
'length' is the current size of the buffer in bytes, 'max' is the amount of
|
||||||
memory allocated to the buffer. There are three functions which handle these
|
memory allocated to the buffer. There are three functions which handle these
|
||||||
and one "miscelanous" function.
|
and one "miscellaneous" function.
|
||||||
|
|
||||||
BUF_MEM *BUF_MEM_new()
|
BUF_MEM *BUF_MEM_new()
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ reject it as invalid. Some broken software will reject certificates which
|
|||||||
have *any* critical extensions (these violates PKIX but we have to live
|
have *any* critical extensions (these violates PKIX but we have to live
|
||||||
with it).
|
with it).
|
||||||
|
|
||||||
There are three main types of extension: string extensions, multi valued
|
There are three main types of extension: string extensions, multi-valued
|
||||||
extensions, and raw extensions.
|
extensions, and raw extensions.
|
||||||
|
|
||||||
String extensions simply have a string which contains either the value itself
|
String extensions simply have a string which contains either the value itself
|
||||||
@ -151,7 +151,7 @@ For example:
|
|||||||
|
|
||||||
nsComment="This is a Comment"
|
nsComment="This is a Comment"
|
||||||
|
|
||||||
Multi valued extensions have a short form and a long form. The short form
|
Multi-valued extensions have a short form and a long form. The short form
|
||||||
is a list of names and values:
|
is a list of names and values:
|
||||||
|
|
||||||
basicConstraints=critical,CA:true,pathlen:1
|
basicConstraints=critical,CA:true,pathlen:1
|
||||||
@ -217,7 +217,7 @@ nsComment="This is a test comment"
|
|||||||
|
|
||||||
Bit Strings.
|
Bit Strings.
|
||||||
|
|
||||||
Bit string extensions just consist of a list of suppported bits, currently
|
Bit string extensions just consist of a list of supported bits, currently
|
||||||
two extensions are in this category: PKIX keyUsage and the Netscape specific
|
two extensions are in this category: PKIX keyUsage and the Netscape specific
|
||||||
nsCertType.
|
nsCertType.
|
||||||
|
|
||||||
@ -237,7 +237,7 @@ keyUsage=critical, digitalSignature, nonRepudiation
|
|||||||
|
|
||||||
Basic Constraints.
|
Basic Constraints.
|
||||||
|
|
||||||
Basic constraints is a multi valued extension that supports a CA and an
|
Basic constraints is a multi-valued extension that supports a CA and an
|
||||||
optional pathlen option. The CA option takes the values true and false and
|
optional pathlen option. The CA option takes the values true and false and
|
||||||
pathlen takes an integer. Note if the CA option is false the pathlen option
|
pathlen takes an integer. Note if the CA option is false the pathlen option
|
||||||
should be omitted.
|
should be omitted.
|
||||||
@ -300,7 +300,7 @@ certificate (if possible).
|
|||||||
|
|
||||||
CRL distribution points.
|
CRL distribution points.
|
||||||
|
|
||||||
This is a multivalued extension that supports all the literal options of
|
This is a multi-valued extension that supports all the literal options of
|
||||||
subject alternative name. Of the few software packages that currently interpret
|
subject alternative name. Of the few software packages that currently interpret
|
||||||
this extension most only interpret the URI option.
|
this extension most only interpret the URI option.
|
||||||
|
|
||||||
@ -322,7 +322,7 @@ crlDistributionPoints=URI:http://www.my.com/my.crl,URI:http://www.oth.com/my.crl
|
|||||||
Certificate Policies.
|
Certificate Policies.
|
||||||
|
|
||||||
This is a RAW extension. It attempts to display the contents of this extension:
|
This is a RAW extension. It attempts to display the contents of this extension:
|
||||||
unfortuntately this extension is often improperly encoded.
|
unfortunately this extension is often improperly encoded.
|
||||||
|
|
||||||
The certificate policies extension will rarely be used in practice: few
|
The certificate policies extension will rarely be used in practice: few
|
||||||
software packages interpret it correctly or at all. IE5 does partially
|
software packages interpret it correctly or at all. IE5 does partially
|
||||||
@ -413,9 +413,9 @@ standard SSLeay_add_all_algorithms() is sufficient. If you do not wish to
|
|||||||
add all algorithms (you should at least add SHA1 though) then you can manually
|
add all algorithms (you should at least add SHA1 though) then you can manually
|
||||||
initialise the PKCS#12 library with:
|
initialise the PKCS#12 library with:
|
||||||
|
|
||||||
PKSC12_PBE_add();
|
PKCS12_PBE_add();
|
||||||
|
|
||||||
The memory allocated by the PKCS#12 libray is freed up when EVP_cleanup() is
|
The memory allocated by the PKCS#12 library is freed up when EVP_cleanup() is
|
||||||
called or it can be directly freed with:
|
called or it can be directly freed with:
|
||||||
|
|
||||||
EVP_PBE_cleanup();
|
EVP_PBE_cleanup();
|
||||||
@ -712,7 +712,7 @@ NID_pbe_WithSHA1And128BitRC2_CBC
|
|||||||
NID_pbe_WithSHA1And40BitRC2_CBC
|
NID_pbe_WithSHA1And40BitRC2_CBC
|
||||||
|
|
||||||
Which you use depends on the implementation you are exporting to. "Export
|
Which you use depends on the implementation you are exporting to. "Export
|
||||||
grade" (i.e. cryptograhically challenged) products cannot support all
|
grade" (i.e. cryptographically challenged) products cannot support all
|
||||||
algorithms. Typically you may be able to use any encryption on shrouded key
|
algorithms. Typically you may be able to use any encryption on shrouded key
|
||||||
bags but they must then be placed in an unencrypted authsafe. Other authsafes
|
bags but they must then be placed in an unencrypted authsafe. Other authsafes
|
||||||
may only support 40bit encryption. Of course if you are using SSLeay
|
may only support 40bit encryption. Of course if you are using SSLeay
|
||||||
@ -731,3 +731,4 @@ to recompile your code.
|
|||||||
macro of the form PKCS12_MAKE_SOMETHING(other) the "other" structure can be
|
macro of the form PKCS12_MAKE_SOMETHING(other) the "other" structure can be
|
||||||
reused or freed up safely.
|
reused or freed up safely.
|
||||||
|
|
||||||
|
LocalWords: PKIX keyUsage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user