Fixed problem with database SSL connections