Skip to content

Commit

Permalink
add trustStore and needClientAuth config to yaml (#834) (#1118)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gtully and dhoard authored Jan 31, 2025
1 parent 85798bd commit 27be7ef
Show file tree
Hide file tree
Showing 15 changed files with 686 additions and 18 deletions.
2 changes: 2 additions & 0 deletions collector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@
<version>3.13.0</version>
<configuration>
<compilerArgument>-Xbootclasspath/a:${env.JAVA_HOME}/lib/</compilerArgument>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
<plugin>
Expand Down
18 changes: 18 additions & 0 deletions docs/content/1.1.0/http-mode/ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ httpServer:
2. Create a keystore and add your certificate
If you need to verify a clients certificate, you set mutualTLS and configure the trustStore parameters
```yaml
httpServer:
ssl:
mutualTLS: true
trustStore:
filename: ca.jks
type: JKS
password: changeit
keyStore:
filename: localhost.jks
password: changeit
certificate:
alias: localhost
```
### Configuration (using System properties)
1. Add configuration to your exporter YAML file
Expand Down
Loading

0 comments on commit 27be7ef

Please sign in to comment.