aboutsummaryrefslogtreecommitdiff
path: root/server/test/src/TestData.scala
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-04-20 13:43:19 +0100
committerJuan J. Martinez <jjm@usebox.net>2024-04-20 13:43:19 +0100
commit4fcdc4a237a217262c29e9b1a1804dda410ba0a0 (patch)
tree792dce23d9bd3c307c1b8d300034d8e4f409e6a8 /server/test/src/TestData.scala
parent9a60fc8286960bf4efd69ebe152741306db59887 (diff)
downloadspacebeans-4fcdc4a237a217262c29e9b1a1804dda410ba0a0.tar.gz
spacebeans-4fcdc4a237a217262c29e9b1a1804dda410ba0a0.zip
Removed auto-generated cert functionality
It wasn't a great idea to start with (I never used it), so I decided it was best if it was removed. Generating self signed certificates is easy enough.
Diffstat (limited to 'server/test/src/TestData.scala')
-rw-r--r--server/test/src/TestData.scala8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/test/src/TestData.scala b/server/test/src/TestData.scala
index df3fbd6..64ac43b 100644
--- a/server/test/src/TestData.scala
+++ b/server/test/src/TestData.scala
@@ -16,10 +16,14 @@ object TestData {
virtualHosts = List(
VirtualHost(
host = host,
- root = getClass.getResource("/").getPath()
+ root = getClass.getResource("/").getPath(),
+ keyStore = KeyStore(
+ path = "/tmp/unused.jks",
+ alias = "localhost",
+ password = "secret"
+ )
)
),
- genCertValidFor = 1.day,
enabledProtocols = Nil,
enabledCipherSuites = Nil
)