generated from ClemaX/ft_skeleton_cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Clément Hamada edited this page May 20, 2021
·
4 revisions
To compile ircserv
you first need to install a c++ compiler, GNU make
, as well as the openssl
library and headers.
Using brew
:
brew install openssl
brew link openssl
If brew is not yet installed on your system, execute:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
ircserv
can be built using the command make
.
The c++ compiler can be specified using make CXX=<compiler>
.
The default configuration file is named ircserv.conf
.
You can specify entries using the following syntax: [KEY]=[VALUE];
.
The default configuration file tries to load an SSL certificate and key at cert.pem
and key.pem
respectively.
A self-signed certificate can be generated using openssl:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/CN=localhost"