aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-04-10 12:12:51 -0400
committerJack Lloyd <[email protected]>2019-04-10 12:12:51 -0400
commit1b14331c78cc29eb8c2895148c41f1ecbe8e6406 (patch)
treec409bf4437448b35e07a3ef866c3224dd27acdfa /doc
parent82f32632d58365846908ee838b0ff8ddc7606835 (diff)
Document new options
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/building.rst6
-rw-r--r--doc/manual/packaging.rst14
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/manual/building.rst b/doc/manual/building.rst
index 248c6edba..8736a90bb 100644
--- a/doc/manual/building.rst
+++ b/doc/manual/building.rst
@@ -703,6 +703,12 @@ set extension. This option selects generating a single file instead.
This requires either MSVC, or a fairly recent version of GCC/Clang
which supports the ``target`` attribute.
+--system-cert-bundle
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Set a path to a file containing one or more trusted CA certificates in
+PEM format. If not given, some default locations are checked.
+
--with-build-dir=DIR
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/doc/manual/packaging.rst b/doc/manual/packaging.rst
index b077734f2..f77000b89 100644
--- a/doc/manual/packaging.rst
+++ b/doc/manual/packaging.rst
@@ -12,6 +12,20 @@ In most environments, zlib, bzip2, and sqlite are already installed, so there is
no reason to not include support for them in Botan as well. Build with options
``--with-zlib --with-bzip2 --with-sqlite3`` to enable these features.
+Even though OpenSSL is also typically already installed, using
+``--with-openssl`` by default is *not recommended*. OpenSSL is sometimes faster
+and sometimes slower than Botan, and the relative speeds vary depending on the
+algorithm and CPU.
+
+Set Path to the System CA bundle
+---------------------------------
+
+Most Unix/Linux systems maintain a list of trusted CA certificates at some well
+known path like ``/etc/ssl/certs/ca-certificates.crt`` or
+``/etc/ssl/cert.pem``. Unfortunately the exact path varies between systems. Use
+``--system-cert-bundle=PATH`` to set this path. If the option is not used,
+``configure.py`` tries a list of known locations.
+
Set Distribution Info
------------------------