Hello
I have added all the stuff in my code, but i m confused how to do for
https. can u pls elaborate more abt the truststore,
how to create it and if u sample then it would be great.
i have modified the code in different ways but i m unable to get
output
my code is
use this for your SSL factory:
SSLSocketFactory sslFactory = SSLSocketFactory.getSocketFactory();
sslFactory.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
But since you didn't specify a truststore with the certificate of the
server, you'll probably have another error.
--
2 matches
Mail list logo