Repository : http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
commit 5ed9c304642a9f6ce85fdc3342f7eebe97cd6e25 Author: Peter Hatina phatina@redhat.com Date: Wed Oct 23 08:43:57 2013 +0200
doc, add client-side certificate authentication
doc/src/startup.rst | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/doc/src/startup.rst b/doc/src/startup.rst index 3ba853e..f2d269f 100644 --- a/doc/src/startup.rst +++ b/doc/src/startup.rst @@ -42,6 +42,19 @@ or: > c = connect("host", "username", "password") >
+Certificate authentication +^^^^^^^^^^^^^^^^^^^^^^^^^^ +LMIShell is capable of creating a connection by using a *X509* certificate. For +the purpose of creating a connection object, it is necessary to provide two file +names, which contain a *certificate* and a *private key*. + +See the following example: + +.. code-block:: python + + > c = connect("host", key_file="key_file", cert_file="cert_file") + > + Unix socket ^^^^^^^^^^^ LMIShell can connect directly to the CIMOM using Unix socket. For this type of
cura-tools-devel@lists.fedorahosted.org