#!/bin/bash

mkdir -p /root/ssl
FQDN=$(hostname -f)
openssl req -newkey rsa:2048 -nodes -keyout poc.key -x509 -days 365 -out poc.crt -subj "/C=US/ST=Texas/L=Dallas/O=Henry Pump/CN=$FQDN"
mv poc.key /root/ssl/
mv poc.crt /root/ssl/
