if (keyManagerProvider == null)
keyManagerProvider = new NullKeyManagerProvider();
TrustManagerProvider<?> trustManagerProvider =
DirectoryServer.getTrustManagerProvider(trustMgrDN);
if (trustManagerProvider == null)
trustManagerProvider = new NullTrustManagerProvider();
sslContext = SSLContext.getInstance(SSL_CONTEXT_INSTANCE_NAME);
if (alias == null) {
sslContext.init(keyManagerProvider.getKeyManagers(),
trustManagerProvider.getTrustManagers(), null);
} else {