libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [4/5] git commit: docs: Update "SSL Certificate Validation".
Date Mon, 09 Dec 2013 12:23:47 GMT
docs: Update "SSL Certificate Validation".


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9a713356
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9a713356
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9a713356

Branch: refs/heads/trunk
Commit: 9a7133567d53ac715b09f80cf9ce19647b5b9999
Parents: 01b2487
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Sun Dec 8 23:41:37 2013 +0100
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sun Dec 8 23:41:37 2013 +0100

----------------------------------------------------------------------
 docs/other/ssl-certificate-validation.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9a713356/docs/other/ssl-certificate-validation.rst
----------------------------------------------------------------------
diff --git a/docs/other/ssl-certificate-validation.rst b/docs/other/ssl-certificate-validation.rst
index 9df5765..98cfcfd 100644
--- a/docs/other/ssl-certificate-validation.rst
+++ b/docs/other/ssl-certificate-validation.rst
@@ -46,10 +46,16 @@ Using a custom CA certificate
 -----------------------------
 
 If you want to use a custom CA certificate file for validating the server
-certificate, you can do that by setting ``libcloud.security.CA_CERTS_PATH``
-variable (``list``) to point to your CA file.
+certificate, you can do that using two different approaches:
 
-For example:
+1. Setting ``SSL_CERT_FILE`` environment variable to point to your CA file
+
+.. sourcecode:: bash
+
+    SSL_CERT_FILE=/home/user/path-to-your-ca-file.crt python my_script.py
+
+2. Setting ``libcloud.security.CA_CERTS_PATH`` variable in your script to 
+   point to your CA file
 
 .. sourcecode:: python
 


Mime
View raw message