Merge "Use optional CRL with CLIENT_SSL_CERT_LDAP"
This commit is contained in:
@@ -193,6 +193,12 @@ public class JettyServer {
|
||||
|
||||
if (AuthType.CLIENT_SSL_CERT_LDAP.equals(authType)) {
|
||||
ssl.setNeedClientAuth(true);
|
||||
|
||||
File crl = getFile(cfg, "sslcrl", "etc/crl.pem");
|
||||
if (crl.exists()) {
|
||||
ssl.setCrlPath(crl.getAbsolutePath());
|
||||
ssl.setValidatePeerCerts(true);
|
||||
}
|
||||
}
|
||||
|
||||
defaultPort = 443;
|
||||
|
||||
Reference in New Issue
Block a user