ibs/genssl.sh
HeshamTB 2c17903012
init: server workds with tls, needs database models
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-03-03 14:42:02 +03:00

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