From 42de8352c8992073cce2f494afed23e625bffee5 Mon Sep 17 00:00:00 2001
From: Matthew Vivian Introduction
@@ -82,7 +83,7 @@ Background
If you only require light security, are deploying for internal use on
trusted networks, etc. you can use "self-signed" certificates.
Self-signed certificates encrypts the communication channel between
- client and server. However the client must verify the legitimacy of the
+ client and server. However, the client must verify the legitimacy of the
self-signed certificate through some other channel. The most common client
reaction to a self-signed certificate is to ask the user whether
to trust the certificate, or to silently trust the certificate is
@@ -182,7 +183,7 @@ 2. Create a self-signed server certificate
to complete with your server's name when asked for your first and last name.
After you have entered all the required information, keytool will ask you to
verify the information and set a key password.
- You must use the same key password as the store password. By default
+ You must use the same key password as the store password. By default,
you get this by simply hitting 'enter' when prompted for a key password.
@@ -297,13 +298,178 @@
This section covers the configuration of certificate revocation checking in Openfire, including OCSP + (Online Certificate Status Protocol) and CRL (Certificate Revocation List) mechanisms. This applies to + both roles that Openfire can assume in TLS connections:
+ +Openfire supports three methods for checking certificate revocation status:
+ +To enable certificate revocation checking:
+ +When this option is enabled, Openfire will check the revocation status of certificates used in server-to-server + (S2S) and client-to-server (C2S) connections to ensure they have not been revoked.
+ +When revocation checking is enabled, Openfire employs a multistep process to verify certificate validity + using both OCSP and CRLs. When Openfire acts as a client during the TLS handshake and receives certificates + from a server, it performs the following revocation checking process:
+Openfire, when operating as a TLS server and presenting its own certificate, will attempt to staple OCSP + responses when both of these conditions are met:
+ +If an OCSP response cannot be obtained, Openfire will present the certificate without an OCSP staple. + OCSP stapling improves performance by eliminating the need for clients to make separate requests to + verify certificate revocation status.
+ +OCSP stapling is enabled by default. If you need to disable it for any reason, you can set the Java
+ system property jdk.tls.server.enableStatusRequestExtension
to false
.
+ The following configuration options allow you to customise OCSP stapling behavior: +
+Property | +Description | +Openfire Default Value | +
---|---|---|
jdk.tls.server.enableStatusRequestExtension |
+ Enables the server-side support for OCSP stapling. | +True | +
jdk.tls.stapling.responseTimeout |
+
+ Controls the maximum amount of time the server will use to obtain OCSP responses, whether from the cache or by contacting an OCSP responder. +The responses that are already received will be sent in a |
+ 5000 (integer value in milliseconds) | +
jdk.tls.stapling.cacheSize |
+
+ Controls the maximum cache size in entries. +If the cache is full and a new response needs to be cached, then the least recently used cache entry will be replaced with the new one. A value of zero or less for this property means that the cache will have no upper bound on the number of responses it can contain. + |
+ 256 objects | +
jdk.tls.stapling.cacheLifetime |
+
+ Controls the maximum life of a cached response. +It is possible for responses to have shorter lifetimes than the value set with this property if the response has a nextUpdate field that expires sooner than the cache lifetime. A value of zero or less for this property disables the cache lifetime. If an object has no nextUpdate value and cache lifetimes are disabled, then the response will not be cached. + |
+ 3600 seconds (1 hour) | +
jdk.tls.stapling.responderURI |
+
+ Enables the administrator to set a default URI in the event that certificates used for TLS do not have the Authority Info Access (AIA) extension. +It will not override the Authority Info Access extension value unless the |
+ Not set | +
jdk.tls.stapling.responderOverride |
+
+ Enables a URI provided through the |
+ False | +
jdk.tls.stapling.ignoreExtensions |
+
+ Disables the forwarding of OCSP extensions specified in the |
+ False | +
You can also use OpenSSL to create new private keys and generate certificate requests for your CA to issue new certificates. Also, check out the new Certificate Manager plugin, - which allows to setup a hotdeploy directory for new certificates deployment, which in turn combined with Let's Encrypt certbot + which allows to set up a hotdeploy directory for new certificates deployment, which in turn combined with Let's Encrypt certbot allows dynamic certificates renewal without administrator intervention.
diff --git a/documentation/style.css b/documentation/style.css index f7030e020e..78d7be49b1 100644 --- a/documentation/style.css +++ b/documentation/style.css @@ -338,6 +338,11 @@ fieldset { right: .5em; } +table.general { + margin-top: 3em; + margin-left: 3em; + border : 1px #ccc solid; +} table.dbtable { margin-top: 3em;