made default certificate chain empty

This commit is contained in:
Jonathan Lamothe 2021-11-12 11:23:13 -05:00
parent e47bc3ce48
commit 7814705dd9

View File

@ -123,16 +123,14 @@ newGemResponse = GemResponse
newGemServSettings newGemServSettings
:: FilePath :: FilePath
-- ^ Path to the server certificate -- ^ Path to the server certificate
-> [FilePath]
-- ^ Path to the chain certificates
-> FilePath -> FilePath
-- ^ Path to the private key -- ^ Path to the private key
-> GemServSettings -> GemServSettings
newGemServSettings cert chain key = GemServSettings newGemServSettings cert key = GemServSettings
{ servConnections = 100 { servConnections = 100
, servPort = 1965 , servPort = 1965
, servCert = cert , servCert = cert
, servCertChain = chain , servCertChain = []
, servKey = key , servKey = key
} }