minvws / nl-covid19-notification-app-backend

Server-side code for CoronaMelder.
European Union Public License 1.2
77 stars 26 forks source link

Moved certificates-related settings together #46

Closed skos001 closed 2 years ago

skos001 commented 2 years ago

Moved certificate-related setting together, like so:

"Certificates": {
  "HsmSigner":
  {
    "BaseAddress": "",
    "CmsJwt": "",
    "CmsPublicCertificateChain": "",
    "GaenJwt": "",
    "GaenPublicCertificate": "",
    "EfgsJwt": "",
    "EfgsPublicCertificate": ""
  },
  "EfgsAuthentication":
  {
    "CertificatePath": "",
    "CertificateFileName": ""
  }
}

Fix-ups for later: make HsmSignerService more generic (i.e., don't have 2 GetCmsSignature methods, but rather pass in the correct config), and possibly move the httpClient-related setting(s) out of the Certificates block 🙂