2
0
mirror of https://github.com/Th3Whit3Wolf/Space-Gitea synced 2024-12-22 03:54:11 +01:00
Space-Gitea/certs/mkcerts.sh
2020-02-15 21:26:37 +00:00

5 lines
252 B
Bash
Executable File

openssl req -new -text -passout pass:abcd -subj /CN=localhost -out server.req -keyout privkey.pem
openssl rsa -in privkey.pem -passin pass:abcd -out server.key
openssl req -x509 -in server.req -text -key server.key -out server.crt
chmod 600 server.key