Use the following command to generate a ssl key and change "YourNickname" to your ZNC username, use this command in your home directory:
openssl req -nodes -sha512 -newkey rsa:4096 -keyout user.pem -x509 -days 3650 -out user.pem -subj "/CN=YourNickname"
Now we're going to use the following command to find out what our ssl fingerprint is, so we can copy and use that for later on for another command:
openssl x509 -sha256 -noout -fingerprint -in user.pem | sed -e 's/^.*=//;s/://g;y/ABCDEF/abcdef/'
And now from IRC, we're going to use the following command to load the module globally for your current user, NOTE: there is no need to change the variable: "$user" and that variable simply means the current user you're logged in with.