Skip to content

Commit

Permalink
[4.x] Server TLS - Add path key description (helidon-io#8937)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvallin authored Jul 22, 2024
1 parent 684e198 commit 1908a2f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $ mvn validate -Pcopyright
$ mvn verify -Pspotbugs
```

**Documentatonn**
**Documentation**

```bash
# At the root of the project
Expand Down
8 changes: 6 additions & 2 deletions docs/src/main/asciidoc/mp/server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,18 @@ server:
passphrase: "password"
trust-store: true
resource:
resource-path: "keystore.p12"
# load from classpath
resource-path: "keystore.p12" # <1>
#Keystore with private key and server certificate
private-key:
keystore:
passphrase: "password"
resource:
resource-path: "keystore.p12"
# load from file system
path: "/path/to/keystore.p12" # <2>
----
<1> File loaded from the classpath.
<2> File loaded from the file system.
=== Configuring additional ports [[conf-additional-ports]]
Expand Down
9 changes: 7 additions & 2 deletions docs/src/main/asciidoc/se/webserver.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,19 @@ server:
passphrase: "password"
trust-store: true
resource:
resource-path: "keystore.p12"
# load from classpath
resource-path: "keystore.p12" # <1>
# Keystore with private key and server certificate
private-key:
keystore:
passphrase: "password"
resource:
resource-path: "keystore.p12"
# load from file system
path: "/path/to/keystore.p12" # <2>
----
<1> File loaded from classpath.
<2> File loaded from file system.
Then, in your application code, load the configuration from that file.
[source,java]
Expand Down

0 comments on commit 1908a2f

Please sign in to comment.