Mercurial > hg > orthanc
comparison Resources/Configuration.json @ 2022:fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 17 Jun 2016 17:09:50 +0200 |
parents | 9c9332e486ca |
children | b4da986c82bb |
comparison
equal
deleted
inserted
replaced
2021:bd143a77eb7a | 2022:fefbe71c2272 |
---|---|
169 // "peer2" : [ "http://localhost:8044/" ] | 169 // "peer2" : [ "http://localhost:8044/" ] |
170 | 170 |
171 /** | 171 /** |
172 * This is another, more advanced format to define Orthanc | 172 * This is another, more advanced format to define Orthanc |
173 * peers. It notably allows to specify a HTTPS client certificate | 173 * peers. It notably allows to specify a HTTPS client certificate |
174 * in the PEM format, as in the "--cert" option of curl. | 174 * in the PEM format (as in the "--cert" option of curl), or to |
175 * enable PKCS#11 authentication for smart cards. | |
175 **/ | 176 **/ |
176 // "peer" : { | 177 // "peer" : { |
177 // "Url" : "http://localhost:8043/", | 178 // "Url" : "http://localhost:8043/", |
178 // "Username" : "alice", | 179 // "Username" : "alice", |
179 // "Password" : "alicePassword", | 180 // "Password" : "alicePassword", |
180 // "CertificateFile" : "client.crt", | 181 // "CertificateFile" : "client.crt", |
181 // "CertificateKeyFile" : "client.key", | 182 // "CertificateKeyFile" : "client.key", |
182 // "CertificateKeyPassword" : "certpass" | 183 // "CertificateKeyPassword" : "certpass", |
184 // "Pkcs11" : false | |
183 // } | 185 // } |
184 }, | 186 }, |
185 | 187 |
186 // Parameters of the HTTP proxy to be used by Orthanc. If set to the | 188 // Parameters of the HTTP proxy to be used by Orthanc. If set to the |
187 // empty string, no HTTP proxy is used. For instance: | 189 // empty string, no HTTP proxy is used. For instance: |
286 // When handling a C-Find SCP request, setting this flag to "true" | 288 // When handling a C-Find SCP request, setting this flag to "true" |
287 // will enable case-sensitive match for PN value representation | 289 // will enable case-sensitive match for PN value representation |
288 // (such as PatientName). By default, the search is | 290 // (such as PatientName). By default, the search is |
289 // case-insensitive, which does not follow the DICOM standard. | 291 // case-insensitive, which does not follow the DICOM standard. |
290 "CaseSensitivePN" : false, | 292 "CaseSensitivePN" : false, |
293 | |
294 // Configure PKCS#11 to use hardware security modules (HSM) and | |
295 // smart cards when carrying on HTTPS client authentication. | |
296 /** | |
297 "Pkcs11" : { | |
298 "Module" : "/usr/local/lib/libbeidpkcs11.so", | |
299 "Pin" : "1234", | |
300 "Verbose" : true | |
301 } | |
302 **/ | |
291 | 303 |
292 // Register a new tag in the dictionary of DICOM tags that are known | 304 // Register a new tag in the dictionary of DICOM tags that are known |
293 // to Orthanc. Each line must contain the tag (formatted as 2 | 305 // to Orthanc. Each line must contain the tag (formatted as 2 |
294 // hexadecimal numbers), the value representation (2 upcase | 306 // hexadecimal numbers), the value representation (2 upcase |
295 // characters), a nickname for the tag, possibly the minimum | 307 // characters), a nickname for the tag, possibly the minimum |