From 16aca8906fc03420e8f0616aa29545bcfb5cbc9c Mon Sep 17 00:00:00 2001 From: Alex Szebenyi Date: Thu, 18 Dec 2014 08:52:54 -0500 Subject: [PATCH] Documentation of SSL support for RexsterHttpServer. --- doc/Rexster-Configuration.textile | 20 +++++++++++++ doc/Rexster-SSL.textile | 47 +++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 doc/Rexster-SSL.textile diff --git a/doc/Rexster-Configuration.textile b/doc/Rexster-Configuration.textile index b22de1c0..e557f31a 100644 --- a/doc/Rexster-Configuration.textile +++ b/doc/Rexster-Configuration.textile @@ -26,6 +26,7 @@ The XML configuration file has a basic structure as follows: public UTF-8 false + false true 2097152 8192 @@ -86,6 +87,23 @@ The XML configuration file has a basic structure as follows: + + TLS + JKS + JKS + + config/ssl/serverKeyStore.jks + + + + SunX509 + + + SunX509 + + false + false + jmx @@ -204,6 +222,8 @@ When configured in this fashion, Rexster accepts all incoming requests. The oth The @@ element allows specification of one or more @@ child elements which each must contain a @@ and @@ combination. These @@ elements represent the list of users that will have access to Rexster. +The @@ section can be used to configure SSL. See the [[Rexster SSL]] page for more information. + The @@ section configured the various realt-time monitoring options for Rexster. See the [[Monitoring]] page for more information. h2. graphs Section diff --git a/doc/Rexster-SSL.textile b/doc/Rexster-SSL.textile new file mode 100644 index 00000000..3d37e317 --- /dev/null +++ b/doc/Rexster-SSL.textile @@ -0,0 +1,47 @@ +Rexster communication can be secured with SSL by [[configuration|Rexster Configuration]] through @rexster.xml@. Server and client authentication are currently supported on [[REST|Basic REST API]] and [[Dog House|the Dog House]]. + +A typical Rexster-SSL configuration might be as follows: + +```xml + + ... + + TLS + JKS + JKS + + config/ssl/serverKeyStore.jks + + keyStorePassword + + SunX509 + + + SunX509 + + false + false + + ... + +``` + +Once SSL has been enabled for a server (see how below), no further action is necessary for its' communications to be secured by SSL. Clients communicating with SSL secured servers will also require appropriately configured SSL and valid certificates (if client authorization is turned on). + +h1. Enable SSL for HTTP Web Service + +After configuring SSL in the @@ section of @rexster.xml@, enable it for HTTP calls by setting @http.enable-ssl@ to true and changing @http@ to @https@ in the @http.base-uri@ property. + +```xml + + + ... + https://your-hostname + ... + true + ... + + ... + +``` +