StickingToGoals.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
mygoals/protected/docs/etc/nginx/make_localhost_CERTs.sh

5 lines
275 B

#!/bin/bash
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt -config localhost.conf
cp localhost.crt /etc/ssl/certs/localhost.crt
cp localhost.key /etc/ssl/private/localhost.key
openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096