Commit 447b4579 authored by jan.koester's avatar jan.koester
Browse files

ssl support

parent f39db71c
Loading
Loading
Loading
Loading
Loading
+5 −2
Changes for src/authdb.cpp: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -436,12 +436,15 @@ int main(int argc,char *argv[]){
                                "admin.local"
                                );
    try {
        std::string cert=config.getValue(config.getKey("/AUTHDB/SSL/CERT"),0);
        std::string key=config.getValue(config.getKey("/AUTHDB/SSL/KEY"),0);

        libhttppp::HttpD httpd(
            config.getValue(config.getKey("/AUTHDB/BIND"),0),
            config.getIntValue(config.getKey("/AUTHDB/PORT"),0),
            config.getIntValue(config.getKey("/AUTHDB/MAXCONN"),0),
                               "",
                               ""
            cert,
            key
        );

        authdb::AuthDB authdb(backend,httpd.getServerSockets());