Feature Name: (fill me in with a unique identity, myawesomefeature)
Type: (feature, enhancement)
Start Date: (fill me in with today's date, YYYY-MM-DD)
Author: (your names)
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
| #!/bin/bash | |
| USER='grigore' | |
| openssl genrsa -out ${USER}.key 2048 | |
| openssl req -new -key ${USER}.key -out ${USER}.csr -subj "/CN=${USER}" | |
| # Get certificate info: | |
| # openssl x509 -noout -text -in ./grigore.crt |