In invirt-vnc-client, get certificates from remctl, instead of from
[invirt/packages/invirt-vnc-client.git] / VNCProxyConnectSocketFactory.java
index d05fcf6..2f06536 100644 (file)
@@ -37,7 +37,7 @@ class VNCProxyConnectSocketFactory implements SocketFactory {
        try {
            SSLContext c = SSLContext.getInstance("SSL");
            c.init(null,
        try {
            SSLContext c = SSLContext.getInstance("SSL");
            c.init(null,
-                  new TrustManager[] { new SIPBTrustManager() },
+                  new TrustManager[] { new InvirtTrustManager() },
                   null);
            factory =
                (SSLSocketFactory)c.getSocketFactory();
                   null);
            factory =
                (SSLSocketFactory)c.getSocketFactory();