Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create crt and key

openssl genrsa 2048 > host.key
chmod 400 host.key
openssl req -new -x509 -nodes -sha256 -days 365 -key host.key -out host.cert
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #create #crt #key
ADD COMMENT
Topic
Name
3+6 =