Skip to content

No need to use keytool before running tests? #27

@dentarg

Description

@dentarg

The README here, https://github.com/twingly/twingly-search-api-java#betamax, tells you to use keytool to modify Java's trust store, before running Betamax tests, but perhaps there's an alternative to that, that the tests could use, so the user doesn't have to care.

I saw this at https://github.com/shyiko/mysql-binlog-connector-java#using-ssl (haven't read anything more about this)

System.setProperty("javax.net.ssl.trustStore", "/path/to/truststore.jks");
System.setProperty("javax.net.ssl.trustStorePassword","truststore.password");
System.setProperty("javax.net.ssl.keyStore", "/path/to/keystore.jks");
System.setProperty("javax.net.ssl.keyStorePassword", "keystore.password");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions