#!/bin/bash sed -n '/-----BEGIN/,/-----END/p' ~/docs/easy-rsa/keys/$1.crt