In this demo we demonstrate how if you have access to the private key of your SSL certificate you can sign and upload signatures to the Umpint Service.
This demo will run on any Linux server.
$ git clone https://github.com/umpint/bash-api.git$ cd bash-api
This will have cloned the simple bash scripts that enable this to work.
On your server you should have access to the key. For this demo we are going to retrieve from our demo server.
$ curl https://dummybank.umpint.com/getsecret >key.pem
Now create a random text file to sign
$ cat /dev/urandom | tr -dc 'a-zA-Z' | head -c 20 > randomfile.txt
This will create a random file with some text in it. Feel free to edit and add what you want.
$ ./sign.sh dummybank.umpint.com key.pem randomfile.txt
This will output something like:
sending - hash [dde48d7bea6745bb0ba95753556e244d4b9f3cb5b051877390fdf5de68daffa8] sig [MEQCICHC6P1mHoPCwPOrUAFBc7X3t09MH4hTNe-aDQiiNyjSAiAL52SVi4clJMv1qlxDBzMIiUfv9yOcSUxfOqm2Mq2iqA__]Result:signed OK dummybank.umpint.com dde48d7bea6745bb0ba95753556e244d4b9f3cb5b051877390fdf5de68daffa8 MEQCICHC6P1mHoPCwPOrUAFBc7X3t09MH4hTNe+aDQiiNyjSAiAL52SVi4clJMv1qlxDBzMIiUfv9yOcSUxfOqm2Mq2iqA==
The file is now signed and you can drag/drop the file onto the Umpint.com web site and see that it is now authenticated.
There is also a batch_sign.sh script - this will sign up to 100 files in one go - you point it at a directory with the files in.
There is also an batch_sign_async.sh script. This will sign up to 25,000 files. It is asynchronous so you send the hash/signatures and we update our database in the background.