GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

(bug, Guidance2022.2.1.12-rc1): CertificateInfo is missing location #140

Closed vvdb-architecture closed 1 year ago

vvdb-architecture commented 1 year ago

When generating a solution or a service, the appsettings.development.json contains an encryption certificate specified as follows:

  "EncryptionCertificate": {
    "Name": "encryptorSha2dev.belgrid.net",
  },

On Elia machines, this generates a "certificate not found" exception because we do not have the permission to add certificates to the machine, only to the current user. You therefore need to set:

  "EncryptionCertificate": {
    "Name": "encryptorSha2dev.belgrid.net",
    "Location":  "CurrentUser"
  },

...for it to work.

Also, I would have expected for appsettings.development.json to reference the SVC_DEV certificate instead.

vvdb-architecture commented 1 year ago

This has been corrected by the installation of the certificate using software center.