Generate private key:
openssl ecparam -name prime256v1 -genkey -out irc_nist256.pemView info about key:
openssl ec -noout -text -conv_form compressed -in irc_nist256.pemopenssl req -new -key irc_nist256.pem -sha256 -days 1096 -nodes -out freenode.csrView CSR info:
openssl x509 -in freenode.csr -text -noout
openssl req -in freenode.csr -text -nooutopenssl req -x509 -in freenode.csr -key irc_nist256.pem -sha256 -days 1096 -nodes -out freenode.pemView info about PEM file:
openssl x509 -in freenode.pem -text -nooutopenssl pkcs12 -export -clcerts -inkey irc_nist256.pem -in freenode.pem -out freenode.p12 -name "Someguy123 IRC"NOTE: You must set an export password when asked, to be able to actually import the key into Apple Keychain.
openssl x509 -in freenode.pem -outform der | sha512sum -b | cut -d' ' -f1openssl x509 -in freenode.pem -outform der | sha1sum -b | cut -d' ' -f1In my case, I added the SHA512 fingerprint, which worked great.
/msg NickServ CERT ADD abcd1234abcd1234def4321Simply double click on the freenode.p12 file, or right click and press Open In... > Keychain Access
You should now be able to find your certificate under the login keychain, in the category Certificates
In the Textual App for macOS, you can select the certificate within the server settings for the IRC server of your choice,
under Advanced > Client Certificate, and then press Select Certificate - and select the certificate you
loaded into KeyChain.


