#!/bin/bash httpstest "$@"| sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -text