blob: 480266f3b27cc55f6c32a3f246bf2f5ec97d0364 [file] [log] [blame]
causten508f7b52017-09-26 11:08:47 -05001#!/bin/sh
2
3PEM="/etc/ssl/certs/nginx/cert.pem"
4
5if [ ! -f $PEM ]; then
6 openssl req -x509 -sha256 -newkey rsa:2048 -keyout $PEM -out $PEM \
7 -days 3650 -subj "/O=openbmc-project.xyz/CN=localhost" \
8 -nodes
9fi