ssl: check if required files exist before enabling https support