Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2015-04-27 22:15:20 +0000
committerslewis2015-04-27 22:15:20 +0000
commit1d81135a270f202c824311bd54bb5a5aeccadf92 (patch)
tree6e5046646700e88ab36012fd1882e0d8d9c94c37
parenta76f5669296fd8b7fb546c42d8df72f6ea2faae3 (diff)
downloadorg.eclipse.ecf-1d81135a270f202c824311bd54bb5a5aeccadf92.tar.gz
org.eclipse.ecf-1d81135a270f202c824311bd54bb5a5aeccadf92.tar.xz
org.eclipse.ecf-1d81135a270f202c824311bd54bb5a5aeccadf92.zip
Added test server.ks (keystore) for testing SSL.
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests/build.properties1
-rw-r--r--tests/bundles/org.eclipse.ecf.tests/security/readme.txt12
-rw-r--r--tests/bundles/org.eclipse.ecf.tests/security/server.ksbin0 -> 2233 bytes
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests/build.properties b/tests/bundles/org.eclipse.ecf.tests/build.properties
index 2b6399957..34271c2a1 100755
--- a/tests/bundles/org.eclipse.ecf.tests/build.properties
+++ b/tests/bundles/org.eclipse.ecf.tests/build.properties
@@ -6,3 +6,4 @@ bin.includes = META-INF/,\
about.html,\
plugin.properties
src.includes = about.html
+jre.compilation.profile = J2SE-1.5
diff --git a/tests/bundles/org.eclipse.ecf.tests/security/readme.txt b/tests/bundles/org.eclipse.ecf.tests/security/readme.txt
new file mode 100644
index 000000000..70c23e48f
--- /dev/null
+++ b/tests/bundles/org.eclipse.ecf.tests/security/readme.txt
@@ -0,0 +1,12 @@
+In this directory is a java keystore file 'server.ks' that has a self-signed certificate.
+The password for accessing this keystore is 'server'. To use with the default
+SSLServerSocketFactory and SSLSocketFactory you may use the following Java System
+Properties
+
+-Djavax.net.ssl.keyStore=security/server.ks
+-Djavax.net.ssl.keyStorePassword=server
+-Djavax.net.ssl.trustStore=security/server.ks
+
+To debug the ssl connection process add this Java System Property
+
+-Djavax.net.debug=all
diff --git a/tests/bundles/org.eclipse.ecf.tests/security/server.ks b/tests/bundles/org.eclipse.ecf.tests/security/server.ks
new file mode 100644
index 000000000..7f31ada30
--- /dev/null
+++ b/tests/bundles/org.eclipse.ecf.tests/security/server.ks
Binary files differ

Back to the top