11 lines
243 B
Bash
11 lines
243 B
Bash
|
#/bin/env bash
|
||
|
|
||
|
openssl genrsa -des3 -out server.orig.key 2048
|
||
|
|
||
|
openssl rsa -in server.orig.key -out server.key
|
||
|
|
||
|
openssl req -new -key server.key -out server.csr
|
||
|
|
||
|
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
|
||
|
|