-
September 29th, 2021, 12:39 PM
#9
I have applied the code below, which loads the keystore that contains the required certificate, unfortunately not worked....
char[] keyStorePassword = "MYPASSWORD".toCharArray();
KeyStore ks = KeyStore.getInstance("JKS");
FileInputStream fis = new FileInputStream("MYKEYSTORE.jks");
ks.load(fis, keyStorePassword);
fis.close();
TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(/*"X509"*/TrustManagerFactory.getDefaultAlgorithm());
trustManagerFactory.init(ks);
LightstreamerClient.setTrustManagerFactory(trustMa nagerFactory);
Similar Threads
-
By ManKeer in forum General
Replies: 1
Last Post: February 22nd, 2021, 09:28 AM
-
By subuta in forum Client SDKs
Replies: 2
Last Post: January 5th, 2012, 08:53 AM
-
By joshi_s_p in forum Client SDKs
Replies: 3
Last Post: January 4th, 2012, 08:30 AM
-
By k.mcc2009 in forum Adapter SDKs
Replies: 1
Last Post: May 21st, 2009, 09:41 AM
-
By jsharpe in forum Client SDKs
Replies: 4
Last Post: February 4th, 2009, 11:45 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:17 PM.
Bookmarks