Browse Source

Merge pull request #21948 from abpframework/auto-merge/rel-9-0/3413

Merge branch rel-9.1 with rel-9.0
pull/21949/head
maliming 1 year ago
committed by GitHub
parent
commit
aabcbe4604
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      docs/en/deployment/configuring-openIddict.md

9
docs/en/deployment/configuring-openIddict.md

@ -50,4 +50,13 @@ You can use the `dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0
> If you encounter a deployment error on IIS that says **File not found** even though the file exists, it is recommended to set the application pool’s advanced settings **Load User Profile** to **True** to resolve the issue.
> The `X509KeyStorageFlags.MachineKeySet` and `X509KeyStorageFlags.EphemeralKeySet` flags can be set in the `AddProductionEncryptionAndSigningCertificate` method for IIS deployments. For example:
```csharp
serverBuilder.AddProductionEncryptionAndSigningCertificate(
"openiddict.pfx",
"your-password",
X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.EphemeralKeySet);
```
For more information, please refer to: https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html#registering-a-certificate-recommended-for-production-ready-scenarios

Loading…
Cancel
Save