diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-04-20 13:43:19 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-04-20 13:43:19 +0100 |
commit | 4fcdc4a237a217262c29e9b1a1804dda410ba0a0 (patch) | |
tree | 792dce23d9bd3c307c1b8d300034d8e4f409e6a8 /server/test/src | |
parent | 9a60fc8286960bf4efd69ebe152741306db59887 (diff) | |
download | spacebeans-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')
-rw-r--r-- | server/test/src/ServiceConfSpec.scala | 8 | ||||
-rw-r--r-- | server/test/src/TestData.scala | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/server/test/src/ServiceConfSpec.scala b/server/test/src/ServiceConfSpec.scala index d886b4f..959f15d 100644 --- a/server/test/src/ServiceConfSpec.scala +++ b/server/test/src/ServiceConfSpec.scala @@ -124,10 +124,14 @@ class ServiceConfSpec extends AnyFlatSpec with Matchers { virtualHosts = List( VirtualHost( host = "localhost", - 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 ) 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 ) |