Mercurial > hg > orthanc-book
comparison Sphinx/source/faq/https.rst @ 25:669ea65ba7fb
fix links
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jul 2016 09:26:08 +0200 |
parents | 114506f51e70 |
children | 011b01ccf52d |
comparison
equal
deleted
inserted
replaced
24:25fa874803ab | 25:669ea65ba7fb |
---|---|
22 Built-in encryption | 22 Built-in encryption |
23 ------------------- | 23 ------------------- |
24 | 24 |
25 To enable the built-in HTTP server of Orthanc, you need to: | 25 To enable the built-in HTTP server of Orthanc, you need to: |
26 | 26 |
27 1. Obtain a `X.509 certificate <http://en.wikipedia.org/wiki/X.509>`_ | 27 1. Obtain a `X.509 certificate <https://en.wikipedia.org/wiki/X.509>`_ |
28 in the `PEM format | 28 in the `PEM format |
29 <http://en.wikipedia.org/wiki/X.509#Certificate_filename_extensions>`_. | 29 <https://en.wikipedia.org/wiki/X.509#Certificate_filename_extensions>`_. |
30 2. Prepend this certificate with the content of your private key. | 30 2. Prepend this certificate with the content of your private key. |
31 3. Modify the ``SslEnabled`` and ``SslCertificate`` variables in the | 31 3. Modify the ``SslEnabled`` and ``SslCertificate`` variables in the |
32 :ref:`Orthanc configuration file <configuration>`. | 32 :ref:`Orthanc configuration file <configuration>`. |
33 | 33 |
34 Here are simple instructions to create a self-signed SSL certificate | 34 Here are simple instructions to create a self-signed SSL certificate |
35 that is suitable for test environments with the `OpenSSL | 35 that is suitable for test environments with the `OpenSSL |
36 <http://en.wikipedia.org/wiki/Openssl>`_ command-line tools:: | 36 <https://en.wikipedia.org/wiki/Openssl>`_ command-line tools:: |
37 | 37 |
38 $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate.crt | 38 $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate.crt |
39 $ cat private.key certificate.crt > certificate.pem | 39 $ cat private.key certificate.crt > certificate.pem |
40 | 40 |
41 Some interesting references about this topic can be found `here | 41 Some interesting references about this topic can be found `here |
42 <http://devsec.org/info/ssl-cert.html>`__, `here | 42 <http://www.devsec.org/info/ssl-cert.html>`__, `here |
43 <http://www.akadia.com/services/ssh_test_certificate.html>`__, and | 43 <http://www.akadia.com/services/ssh_test_certificate.html>`__, and |
44 `here | 44 `here |
45 <http://stackoverflow.com/questions/991758/how-to-get-an-openssl-pem-file-from-key-and-crt-files>`__. | 45 <http://stackoverflow.com/questions/991758/how-to-get-an-openssl-pem-file-from-key-and-crt-files>`__. |