diff --git a/configuration/encryption-and-signing-credentials.html b/configuration/encryption-and-signing-credentials.html index 1e534a9..207bf55 100644 --- a/configuration/encryption-and-signing-credentials.html +++ b/configuration/encryption-and-signing-credentials.html @@ -135,8 +135,8 @@ Unlike ephemeral keys, development certificates are persisted - but not shared a
Warning

This feature is not available on .NET Framework 4.6.1: calling options.AddDevelopmentEncryptionCertificate() or options.AddDevelopmentSigningCertificate() will result in a PlatformNotSupportedException being thrown at runtime if no valid development certificate can be found and a new one must be generated.

-
Caution

options.AddDevelopmentEncryptionCertificate() or options.AddDevelopmentSigningCertificate() cannot be used in applications deployed on IIS or Azure App Services: -trying to use them on IIS or Azure App Services will result in an exception being thrown at runtime (unless the application pool is configured to load a user profile). +

Caution

options.AddDevelopmentEncryptionCertificate() or options.AddDevelopmentSigningCertificate() cannot be used in applications deployed on IIS or Azure App Service: +trying to use them on IIS or Azure App Service will result in an exception being thrown at runtime (unless the application pool is configured to load a user profile). To avoid that, consider creating self-signed certificates and storing them in the X.509 certificates store of the host machine(s).

Registering a key

@@ -179,7 +179,7 @@ File.WriteAllBytes("signing-certificate.pfx", certificate.Export(X509C

The best place to store your certificates will depend on your host:

Importing credentials in the API/resource validation options

diff --git a/manifest.json b/manifest.json index 2abb70f..8b1c2a4 100644 --- a/manifest.json +++ b/manifest.json @@ -45,7 +45,7 @@ "output": { ".html": { "relative_path": "configuration/encryption-and-signing-credentials.html", - "hash": "Vv7XgVNlnmcdfoicWhfNlw==" + "hash": "zVDvxKXYXBS/95K56YN2MA==" } }, "is_incremental": false,