db config and ssl for captcha