CTFD_SSL/Gen-Certs.sh
2021-10-18 12:01:53 -05:00

6 lines
150 B
Bash
Executable File

#!/bin/sh
rm -rf ./CTFd/ssl/*
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out ./CTFd/ssl/ctfd.crt -keyout ./CTFd/ssl/ctfd.key