ComputerTech Owner
Posts : 99 Points : 268 Reputation : 0 Join date : 2020-04-30
| Subject: Setting up SSL on your Eggdrop 22/5/2020, 17:21 | |
| Hello this is a quick guide to setting up ssl on your eggdrop find this Section on your eggerop config - Code:
-
##### SSL SETTINGS #####
# Settings in this section take effect when eggdrop is compiled with TLS # support. # # IMPORTANT: The following two settings MUST be uncommented in order to # use SSL functionality!
# File containing your private key, needed for the SSL certificate # (see below). You can create one issuing the following command: # # openssl genrsa -out eggdrop.key 4096 # # It will create a 4096 bit RSA key, strong enough for eggdrop. # For your convenience, you can type 'make sslcert' after 'make install' # and you'll get a key and a certificate in your eggdrop directory. # If you installed to a non-default location, use 'make sslcert DEST=...' # # THIS IS REQUIRED if you intend to use this bot as a hub for SSL hubs/ # listen ports, secure file transfer, /ctcp botnick schat, or # using a certificate to authenticate with NickServ. #set ssl-privatekey "eggdrop.key"
# Specify the filename where your SSL certificate is located. If you # don't set this, eggdrop will not be able to act as a server in SSL # connections, as with most ciphers a certificate and a private key # are required on the server side. Must be in PEM format. # If you don't have one, you can create it using the following command: # # openssl req -new -key eggdrop.key -x509 -out eggdrop.crt -days 365 # # For your convenience, you can type 'make sslcert' after 'make install' # and you'll get a key and a certificate in your eggdrop directory. # If you installed to a non-default location, use 'make sslcert DEST=...' # # THIS IS REQUIRED if you intend to use this bot as a hub for SSL hubs/ # listen ports, secure file transfer, /ctcp botnick schat, or # using a certificate to authenticate with NickServ. #set ssl-certificate "eggdrop.crt" Now unbind (remove #) these lines on the eggdrop config - Code:
-
#set ssl-privatekey "eggdrop.key"
#set ssl-certificate "eggdrop.crt"
neither of the above lines should have the # before them Then login into your shell/server and get into your bots directory type both these commands this one first - Code:
-
openssl genrsa -out eggdrop.key 4096 then - Code:
-
openssl req -new -key eggdrop.key -x509 -out eggdrop.crt -days 365 the last command will ask your for info you dont (NEED) to enter that info hou can just just press Enter 6 Times. And now restart or launch the bot and you have successfully setup SSL for youe bot | |
|