X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/361a1e7f7b226811bdb8b4cc0266f34f01ac4bcd..a088cea68cf4ca19249d4cf8591e95228dba13f1:/src/main.sml diff --git a/src/main.sml b/src/main.sml index 9f01855..a3b78e8 100644 --- a/src/main.sml +++ b/src/main.sml @@ -145,7 +145,7 @@ fun request fname = val user = Posix.SysDB.Passwd.name (Posix.SysDB.getpwuid uid) val context = OpenSSL.context (Config.certDir ^ "/" ^ user ^ ".pem", - Config.keyDir ^ "/" ^ user ^ ".pem", + Config.keyDir ^ "/" ^ user ^ "/key.pem", Config.trustStore) val bio = OpenSSL.connect (context, dispatcher) @@ -248,7 +248,7 @@ fun slave () = val host = hostname () val context = OpenSSL.context (Config.certDir ^ "/" ^ host ^ ".pem", - Config.keyDir ^ "/" ^ host ^ ".pem", + Config.keyDir ^ "/" ^ host ^ "/key.pem", Config.trustStore) val sock = OpenSSL.listen (context, Config.slavePort)