Mercurial > hg > orthanc-book
comparison Sphinx/source/faq/dicom-tls.rst @ 756:9484a3c65136
typo
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 23 Aug 2021 10:38:20 +0200 |
parents | 2ea133e0fa8e |
children | 980ffad93dc5 |
comparison
equal
deleted
inserted
replaced
755:628035820f1c | 756:9484a3c65136 |
---|---|
27 <https://www.openssl.org/>`__ command-line tools:: | 27 <https://www.openssl.org/>`__ command-line tools:: |
28 | 28 |
29 $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ | 29 $ openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ |
30 -keyout orthanc.key -out orthanc.crt -subj "/C=BE/CN=localhost" | 30 -keyout orthanc.key -out orthanc.crt -subj "/C=BE/CN=localhost" |
31 | 31 |
32 Obviously, you have adapt the arguments to your setup (notably the | 32 Obviously, you must adapt the arguments to your setup (notably the |
33 ``subj`` argument that generates a certificate for Belgium for the | 33 ``subj`` argument that generates a certificate for Belgium for the |
34 server whose DNS address is ``localhost``). This command line will | 34 server whose DNS address is ``localhost``). This command line will |
35 generate two files using the `PEM file format | 35 generate two files using the `PEM file format |
36 <https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail>`__: | 36 <https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail>`__: |
37 ``orthanc.crt`` is the newly-generated certificate, and | 37 ``orthanc.crt`` is the newly-generated certificate, and |