|
@@ -107,22 +107,27 @@ public class SSLErrorMessageTests extends ESTestCase {
|
|
}
|
|
}
|
|
|
|
|
|
public void testMessageForKeyStoreOutsideConfigDir() throws Exception {
|
|
public void testMessageForKeyStoreOutsideConfigDir() throws Exception {
|
|
|
|
+ assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
|
|
checkBlockedKeyManagerResource("keystore", "keystore.path", null);
|
|
checkBlockedKeyManagerResource("keystore", "keystore.path", null);
|
|
}
|
|
}
|
|
|
|
|
|
public void testMessageForPemCertificateOutsideConfigDir() throws Exception {
|
|
public void testMessageForPemCertificateOutsideConfigDir() throws Exception {
|
|
|
|
+ assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
|
|
checkBlockedKeyManagerResource("certificate", "certificate", withKey("cert1a.key"));
|
|
checkBlockedKeyManagerResource("certificate", "certificate", withKey("cert1a.key"));
|
|
}
|
|
}
|
|
|
|
|
|
public void testMessageForPemKeyOutsideConfigDir() throws Exception {
|
|
public void testMessageForPemKeyOutsideConfigDir() throws Exception {
|
|
|
|
+ assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
|
|
checkBlockedKeyManagerResource("key", "key", withCertificate("cert1a.crt"));
|
|
checkBlockedKeyManagerResource("key", "key", withCertificate("cert1a.crt"));
|
|
}
|
|
}
|
|
|
|
|
|
public void testMessageForTrustStoreOutsideConfigDir() throws Exception {
|
|
public void testMessageForTrustStoreOutsideConfigDir() throws Exception {
|
|
|
|
+ assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
|
|
checkBlockedTrustManagerResource("truststore", "truststore.path");
|
|
checkBlockedTrustManagerResource("truststore", "truststore.path");
|
|
}
|
|
}
|
|
|
|
|
|
public void testMessageForCertificateAuthoritiesOutsideConfigDir() throws Exception {
|
|
public void testMessageForCertificateAuthoritiesOutsideConfigDir() throws Exception {
|
|
|
|
+ assumeFalse("@AwaitsFix(bugUrl = https://github.com/elastic/elasticsearch/issues/45598)", Constants.WINDOWS);
|
|
checkBlockedTrustManagerResource("certificate_authorities", "certificate_authorities");
|
|
checkBlockedTrustManagerResource("certificate_authorities", "certificate_authorities");
|
|
}
|
|
}
|
|
|
|
|