Difference between revisions of "IRC"

From Vague Hope Wiki
Jump to: navigation, search
(References)
Line 7: Line 7:
 
* http://www.oftc.net/NickServ/CertFP/
 
* http://www.oftc.net/NickServ/CertFP/
  
== InspIRCd with SSL only ==
+
== InspIRCd with SSL ==
  
 
Generate self-signed server certs:
 
Generate self-signed server certs:
Line 16: Line 16:
 
  <bind address="" port="6697" type="clients" ssl="openssl">
 
  <bind address="" port="6697" type="clients" ssl="openssl">
 
  <openssl cafile="conf/ca.pem" certfile="conf/cert.pem" keyfile="conf/key.pem" dhfile="conf/dhparam_4096.pem">
 
  <openssl cafile="conf/ca.pem" certfile="conf/cert.pem" keyfile="conf/key.pem" dhfile="conf/dhparam_4096.pem">
 +
 +
InspIRCd with SSL and client certs ==
 +
 +
Generate a CA:
 +
/usr/lib/ssl/misc/CA.sh -newca

Revision as of 03:08, 6 July 2013

References

InspIRCd with SSL

Generate self-signed server certs:

openssl dhparam -out dhparam_4096.pem 4096
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 1024

Configure in inspircd.conf

<bind address="" port="6697" type="clients" ssl="openssl">
<openssl cafile="conf/ca.pem" certfile="conf/cert.pem" keyfile="conf/key.pem" dhfile="conf/dhparam_4096.pem">

InspIRCd with SSL and client certs ==

Generate a CA:

/usr/lib/ssl/misc/CA.sh -newca