added config options for cert and key
make cert and key locations a config option