docs: Re-order sections.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9e439703 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9e439703 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9e439703 Branch: refs/heads/trunk Commit: 9e4397034591b5ead5f54e89ca9436dc9d1fe34c Parents: 9a71335 Author: Tomaz Muraus <[email protected]> Authored: Sun Dec 8 23:42:30 2013 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Sun Dec 8 23:42:30 2013 +0100 ---------------------------------------------------------------------- docs/other/ssl-certificate-validation.rst | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/9e439703/docs/other/ssl-certificate-validation.rst ---------------------------------------------------------------------- diff --git a/docs/other/ssl-certificate-validation.rst b/docs/other/ssl-certificate-validation.rst index 98cfcfd..2ba4dca 100644 --- a/docs/other/ssl-certificate-validation.rst +++ b/docs/other/ssl-certificate-validation.rst @@ -26,22 +26,6 @@ If the above packages are unavailable to you, and you don't wish to roll your own, the makers of cURL provides an excellent resource, generated from Mozilla: http://curl.haxx.se/docs/caextract.html. -Adding additional CA certificate to the path --------------------------------------------- - -If you want to add an additional CA certificate to the ``CA_CERTS_PATH``, you -can do this by appending a path to your CA file to the -``libcloud.security.CA_CERTS_PATH`` list. - -For example: - -.. sourcecode:: python - - import libcloud.security - libcloud.security.CA_CERTS_PATH.append('/home/user/path-to-your-ca-file.crt') - - # Instantiate and work with the driver here... - Using a custom CA certificate ----------------------------- @@ -64,6 +48,22 @@ certificate, you can do that using two different approaches: # Instantiate and work with the driver here... +Adding additional CA certificate to the path +-------------------------------------------- + +If you want to add an additional CA certificate to the ``CA_CERTS_PATH``, you +can do this by appending a path to your CA file to the +``libcloud.security.CA_CERTS_PATH`` list. + +For example: + +.. sourcecode:: python + + import libcloud.security + libcloud.security.CA_CERTS_PATH.append('/home/user/path-to-your-ca-file.crt') + + # Instantiate and work with the driver here... + Disabling SSL certificate validation ------------------------------------
