clone upload_server_cert.sh to work with files