ssl_dir=/etc/ssl/certs && \
mkdir -p $ssl_dir && \
openssl req -x509 -nodes -days 365 \
-newkey rsa:2048 \
-subj "/C=CN/ST=HB/L=WH/O=actanble/OU=dev/CN=tb245@encrypt.tsc.com/emailAddress=actanble@gmail.com" \
-keyout $ssl_dir/nginx.key \
-out $ssl_dir/nginx.crt