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
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.
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).
+
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).
The best place to store your certificates will depend on your host:
WEBSITE_LOAD_CERTIFICATES
flag.
+WEBSITE_LOAD_CERTIFICATES
flag.
For more information, visit Use a TLS/SSL certificate in your code in Azure App Service.