changeset 467:b8c7519448d2

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 25 Jul 2020 21:23:13 +0200
parents b8598659a8a0 (current diff) 5bb6bc85f99f (diff)
children 7d8b95b1b22c a735476a0e6e
files
diffstat 2 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/mysql.rst	Sat Jul 25 21:22:56 2020 +0200
+++ b/Sphinx/source/plugins/mysql.rst	Sat Jul 25 21:23:13 2020 +0200
@@ -99,6 +99,9 @@
       "Database" : "orthanc",
       "Username" : "orthanc",
       "Password" : "orthanc",
+      "EnableSsl" : false,     // force SSL connections
+      "SslVerifyServerCertificates": true, // verify server certificates if EnableSsl is true
+      "SslCACertificates": "", // path to CA certificates to validate servers
       "Lock" : true            // See section about Locking
     },
     "Plugins" : [
@@ -115,6 +118,14 @@
 UNIX (i.e. to instruct Orthanc not to use UNIX socket), the
 ``UnixSocket`` can be set to the empty string.
 
+**Remark:** To force using a TLS connection, you must set ``EnableSsl``
+to ``true``.  Once ``EnableSsl`` is ``true``, the ``SslVerifyServerCertificates``
+enables the check of server certificates (``true`` by default).
+The CA certificates used to verify the server certificate can be defined
+through ``SslCACertificates``; if not defined or empty, the value of the global
+Orthanc configuration ``HttpsCACertificates`` is used.  These options have been
+introduced in the mainline in July 2020 and have not yet been released.
+
 **Remark:** When using the ``Storage`` MySQL plugin, the DICOM files
 are stored as blobs in the database. This might actually consume more
 space than the DICOM file itself.
--- a/Sphinx/source/plugins/object-storage.rst	Sat Jul 25 21:22:56 2020 +0200
+++ b/Sphinx/source/plugins/object-storage.rst	Sat Jul 25 21:23:13 2020 +0200
@@ -121,9 +121,22 @@
   	"BucketName": "test-orthanc-s3-plugin",
     "Region" : "eu-central-1",
     "AccessKey" : "AKXXX",
-    "SecretKey" : "RhYYYY"
+    "SecretKey" : "RhYYYY",
+    "Endpoint": "",                 // optional - currently in mainline version only: custom endpoint
+    "ConnectionTimeout": 30,        // optional - currently in mainline version only: connection timeout in seconds
+    "RequestTimeout": 1200          // optional - currently in mainline version only: request timeout in seconds (max time to upload/download a file)
   }
 
+The **EndPoint** configuration is used when accessing an S3 compatible cloud provider.  I.e. here is a configuration to store data on Scaleway::
+
+ "AwsS3Storage" : {
+    "BucketName": "test-orthanc",
+    "Region": "fr-par",
+    "AccessKey": "XXX",
+    "SecretKey": "YYY",
+    "Endpoint": "s3.fr-par.scw.cloud"
+  },
+
 Azure Blob Storage plugin
 ^^^^^^^^^^^^^^^^^^^^^^^^^