#!/usr/bin/env bash openssl req -new -newkey rsa:2048 -nodes -out hello_abc_com.csr -keyout hello_abc_com.key -subj "/C=US/ST=New York/L=New York/O=ABC Inc./OU=IT/CN=hello.abc.com" openssl x509 -req -days 365 -in hello_abc_com.csr -signkey hello_abc_com.key -out hello_abc_com.crt