@Override
                public String[] getServerAliases(String keyType, Principal[] issuers) {
                    return new String[] { XMPP_DOMAIN };
                }
Creates a KeyManager that identifies with the provided keyPair and certificate chain.
xmppserver/src/test/java/org/jivesoftware/openfire/session/AbstractRemoteServerDummy.java