From 4fcdc4a237a217262c29e9b1a1804dda410ba0a0 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 20 Apr 2024 13:43:19 +0100 Subject: 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. --- server/test/src/ServiceConfSpec.scala | 8 ++++++-- server/test/src/TestData.scala | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'server/test') 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 ) -- cgit v1.2.3