Added quotes around keystore password
This commit is contained in:
parent
9738b5c54b
commit
9861e07d7c
|
@ -47,7 +47,7 @@ import java.io.IOException;
|
|||
public class Main {
|
||||
public static void main(String[] args) throws IOException{
|
||||
System.setProperty("javax.net.ssl.trustStore", "/full/path/to/keystore");
|
||||
System.setProperty("javax.net.ssl.trustStorePassword", password-to-keystore);
|
||||
System.setProperty("javax.net.ssl.trustStorePassword", "password-to-keystore");
|
||||
|
||||
//Only for demo purposes. Don't specify your credentials in code.
|
||||
final CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
|
||||
|
|
Loading…
Reference in New Issue