Anonymous avatar Anonymous committed 0f5671f

Install it into /bin

Comments (0)

Files changed (2)


 confdir		= @confdir@
 localstatedir	= @localstatedir@
-PROGS		= viconf mkpasswd convertilines convertklines 
+PROGS		= viconf mkpasswd convertilines convertklines
 all: $(PROGS)
 convertklines: convertklines.c
 	$(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES) convertklines.c -o convertklines $(IRCDLIBS)
 	$(RM) -f encspeed viconf chkconf mkpasswd *~ core *.exe convertklines convertilines
 echo "Generating certificate request .. "
-openssl req -new -nodes -out req.pem
+openssl req -new -nodes -out ../etc/req.pem
 echo "Generating self-signed certificate .. "
-openssl req -x509 -days 365 -in req.pem -key privkey.pem -out cert.pem
+openssl req -x509 -days 365 -in ../etc/req.pem -key ../etc/rsa.key -out ../etc/cert.pem
 echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. "
-openssl dhparam -out dh.pem 2048
-mv privkey.pem rsa.key
+openssl dhparam -out ../etc/dh.pem 1024
 echo " 
-Now copy rsa.key, cert.pem and dh.pem into your IRCd's etc/ folder,
-then change these lines in the ircd.conf file:
+Now change these lines in the IRCd config file:
     ssl_private_key = "etc/rsa.key";
     ssl_cert = "etc/cert.pem";
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.