apk add openssl-dev openssl
mkdir /usr/local/nginx/conf/ssl
cd /usr/local/nginx/conf/ssl
openssl genrsa -out my.key -des3 1024
openssl req -days 3650 -x509 -sha256 -nodes -newkey rsa:1024 -keyout my.key -out my.crt
apk add openssl-dev openssl
mkdir /usr/local/nginx/conf/ssl
cd /usr/local/nginx/conf/ssl
openssl genrsa -out my.key -des3 1024
openssl req -days 3650 -x509 -sha256 -nodes -newkey rsa:1024 -keyout my.key -out my.crt