1#!/bin/bash 2 3if [ $# -ne 1 ]; then 4 echo "Usage: $0 <private_key_pem_file>" 5 echo "Reads data to sign from stdin, encrypted data is output to stdout" 6 exit 1 7fi 8 9openssl rsautl -sign -inkey $1 10