Skip to content

Commit

Permalink
Updated "server.ssl" settings, added example keystore/truststore for …
Browse files Browse the repository at this point in the history
…testing.
  • Loading branch information
Daniel Nuttall committed Sep 10, 2018
1 parent 82c6e9f commit 69009c0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
17 changes: 12 additions & 5 deletions nrls-adapter/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,22 @@ spring.cache.cache-names: pointers
spring.cache.caffeine.spec: maximumSize=500, expireAfterWrite=30m

# security configuration
security.require-ssl=false
server.port=8080
# define if a security certificate is needed by the application and turn ssl connections on/off.
server.ssl.enabled=true
# TrustStore Settings - Incoming connection
server.ssl.trust-store=src/main/resources/adaptertruststore.jks
server.ssl.trust-store-password=password
server.ssl.trust-store-type=JKS
server.ssl.client-auth=want
# KeyStore Settings - Outgoing connection
server.ssl.key-store-password=password
server.ssl.key-store=src/main/resources/testkeystore.jks
server.ssl.key-store=src/main/resources/adapterkeystore.jks
server.ssl.key-store-type=JKS
server.ssl.keyAlias=tks_client
server.ssl.keyAlias=adapter

# task schedule
task.schedule.cron=0 0 12 * * ?
task.schedule.cron=0 0 23 * * *
task.folder.location=provider

# logging location
Expand All @@ -29,7 +36,7 @@ spine.asid=999999999999

# nrls api configuration
# Get request
nrls.api.get.pointer.url=http://127.0.0.1:4848/DocumentReference
nrls.api.get.pointer.url=https://127.0.0.1:4848/DocumentReference
nrls.api.get.pointer.url.subject=?subject=https://demographics.spineservices.nhs.uk/STU3/Patient/
nrls.api.get.pointer.url.count=&_summary=count
nrls.api.get.pointer.url.identifier=&identifier=
Expand Down
Binary file removed nrls-adapter/src/main/resources/testkeystore.jks
Binary file not shown.

0 comments on commit 69009c0

Please sign in to comment.