ibs/genssl.sh
HeshamTB 0370ba175e
run-tls: change port to 4040
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-05-23 21:09:03 +03:00

11 lines
243 B
Bash
Executable File

#/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