Added support for configuring certificate and key files.