aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to '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