aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-23 15:54:18 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-23 15:54:18 +0200
commit9b68da7d6873ec390a825f6c6663d81b71534e0d (patch)
tree984f456cef7498a97f93002f408e2c8d4ed38459
parent8246898f0d0f1e1dffedb90040497b4607180b92 (diff)
downloadmoa-zs-9b68da7d6873ec390a825f6c6663d81b71534e0d.tar.gz
moa-zs-9b68da7d6873ec390a825f6c6663d81b71534e0d.tar.bz2
moa-zs-9b68da7d6873ec390a825f6c6663d81b71534e0d.zip
Update readme.md
-rw-r--r--readme.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 2600a09..c5fe6ad 100644
--- a/readme.md
+++ b/readme.md
@@ -26,12 +26,12 @@ Command:
mvn test -P all-tests
```
-Note that some integration tests (prefix `ITSSL`) rely on a TLS connection and Client Authentication. The following guide
-explains how to set up TLS and Client Authentication with Apache 2.
+Note that some integration tests (prefix `ITSSL`) rely on a TLS connection and Client Authentication. The following guide explains how to set up TLS and Client Authentication with Apache 2.
#### Quick Guide: Set Up SSL (inc. Client Authentication) in Apache 2.
-Some tests require SSL protection of the service endpoint with SSL Client Authentication. Here's a quick guide how to set up an Apache 2 service on localhost as a SSL terminating reverse proxy to the zusemsg endpoint that runs on <http://localhost:8081/>. This guide is only needed for running all integration tests.
+This guide is only needed for running all tests.
+Some tests require SSL protection of the service endpoint with SSL Client Authentication. Here's a quick guide how to set up an Apache 2 service on localhost as a SSL terminating reverse proxy to the zusemsg endpoint that runs on <http://localhost:8081/>.
1. Install Apache 2.
1. Ensure that mod-proxy is installed and enabled.
@@ -93,11 +93,21 @@ After packaging the application to a `war` file, the application can be deployed
1. Copy the directory `test/main/resources/config/` into the applications working directory.
```
- cp test/main/resources/config/ standalone/ -r
+ cp src/test/resources/config standalone/ -r
```
The `config` folder works out of the box for test environments. You may apply changes to files in the `config` folder to fit the needs of a productive environment.
+1. Start application.
+
+ ```
+ (cd standalone && java -jar moa-zs.war)
+ ```
+
+### Deploy to Tomcat Container
+
+TODO: Describe
+
# Footnotes
[1] https://bugs.openjdk.java.net/browse/JDK-8214098