Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NUTCH-2308 SSL connection test at TestNutchAPI is implemented. #147

Merged
merged 1 commit into from Aug 30, 2016
Merged

NUTCH-2308 SSL connection test at TestNutchAPI is implemented. #147

merged 1 commit into from Aug 30, 2016

Conversation

kamaci
Copy link
Member

@kamaci kamaci commented Aug 26, 2016

No description provided.

private void loadCertificate() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException {
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
char[] password = "testpassword".toCharArray();
String testTrustKeyStorePath = "src/test/testTrustKeyStore";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break on Windows for sure. Please use the classloader.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this break Windows? I just give the path and I think it won't be a problem. Do I miss anything?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use classloader.

@lewismc
Copy link
Member

lewismc commented Aug 27, 2016

Tests failing please see Jira.

@kamaci
Copy link
Member Author

kamaci commented Aug 30, 2016

@lewismc I've updated the PR. Could you apply it again?

@asfgit asfgit merged commit 75d846c into apache:2.x Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants