clean up and add notes

This commit is contained in:
*****DEAD ACCOUNT 2020-11-05 20:41:27 +00:00
parent b08b74f9a2
commit 7b3abaa633
No known key found for this signature in database
GPG Key ID: 6682B58F2E96EA33
7 changed files with 4 additions and 48 deletions

View File

@ -1,5 +1,7 @@
# Quickstart
- `chmod -R 777 ephemeral */*.conf etc`
### Console
- `cd rb_console ; docker-compose up -d ; cd ..`

View File

@ -0,0 +1 @@
*

View File

@ -1 +0,0 @@
/dev/null

View File

@ -1 +1 @@
*.pid
*

View File

@ -1,46 +0,0 @@
#!/bin/sh
# Simple and straight forward openssl cert generator for ircd-ratbox
# Copyright (C) 2008-2012 ircd-ratbox development team
# $Id: genssl.sh 29251 2015-12-18 17:15:54Z androsyn $
if [ $# -eq 0 ]; then
echo
echo "usage: $0 <IRC_SERVER_NAME> [<LENGTH_IN_DAYS_KEYS_ARE_VALID>]"
echo " default lenth of time keys are valid is 365 days."
echo
exit 1;
fi
SERVER="$1"
DAYS_VALID="$2"
SSL_DAYS_VALID="365"
if [ "$DAYS_VALID" -gt "365" ]; then
SSL_DAYS_VALID="$DAYS_VALID"
fi
echo
echo "Generating 2048-bit self-signed RSA key for ${SERVER}... "
openssl req -new -newkey rsa:2048 -sha256 -days ${SSL_DAYS_VALID} -nodes -x509 -keyout ${SERVER}.pem -out ${SERVER}.pem
echo "Done creating self-signed cert"
echo -n "Generating DH parameters file... "
openssl dhparam -out dh.pem 2048
echo "Done."
echo
echo "Your SSL keys for ${SERVER} are valid for ${SSL_DAYS_VALID} days."
echo "If you wish to increase the number of days, run:"
echo " $0 ${SERVER} <NUMBER_OF_DAYS>"
echo
echo "Move ${SERVER}.pem and dh.pem to your ircd config directory if necessary."
echo "Adjust ircd.conf to reflect any changes."
echo "Your serverinfo {} block should contain the following (adjust paths accordingly)"
echo
echo "ssl_private_key = \"`pwd`/${SERVER}.pem\";"
echo "ssl_cert = \"`pwd`/${SERVER}.pem\";"
echo "ssl_dh_params = \"`pwd`/dh.pem\";"
echo
exit 0