Skip to content

Commit 27be7ef

Browse files
gtullydhoard
andauthored
add trustStore and needClientAuth config to yaml (#834) (#1118)
* add ssl trustStore and mutualTLS config options to yaml (#834) Signed-off-by: Gary Tully <gary.tully@gmail.com> * Update SSLWithTrustStoreAndClientAuth.java Updated copyright year Signed-off-by: Doug Hoard <dhoard@users.noreply.github.com> --------- Signed-off-by: Gary Tully <gary.tully@gmail.com> Signed-off-by: Doug Hoard <dhoard@users.noreply.github.com> Co-authored-by: Doug Hoard <dhoard@users.noreply.github.com>
1 parent 85798bd commit 27be7ef

File tree

15 files changed

+686
-18
lines changed

15 files changed

+686
-18
lines changed

collector/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@
120120
<version>3.13.0</version>
121121
<configuration>
122122
<compilerArgument>-Xbootclasspath/a:${env.JAVA_HOME}/lib/</compilerArgument>
123+
<source>8</source>
124+
<target>8</target>
123125
</configuration>
124126
</plugin>
125127
<plugin>

docs/content/1.1.0/http-mode/ssl.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,24 @@ httpServer:
2626
2727
2. Create a keystore and add your certificate
2828
29+
If you need to verify a clients certificate, you set mutualTLS and configure the trustStore parameters
30+
31+
```yaml
32+
httpServer:
33+
ssl:
34+
mutualTLS: true
35+
trustStore:
36+
filename: ca.jks
37+
type: JKS
38+
password: changeit
39+
keyStore:
40+
filename: localhost.jks
41+
password: changeit
42+
certificate:
43+
alias: localhost
44+
```
45+
46+
2947
### Configuration (using System properties)
3048
3149
1. Add configuration to your exporter YAML file

0 commit comments

Comments
 (0)