clone upload_server_cert.sh to work with files

Helpful when bulk uploading certificates.