I want to run irc server for tests and want to make this server use ssl connections. I installed Bahamut server from sources, made ircd.crt file by running make-cert.sh, this file contain private key (i have no idea where public key is). Server go up right, but i can`t connect with him by using irsii:

/set use_ssl on
/set ssl_verify on
/connect -ssl localhost 6697

I got error - "warning SSL handshake failed: server closed connection"

I will be very gratefull for any help