go-irc

A basic SSL-supporting IRC client written in golang.
git clone http://git.hanabi.in/repos/go-irc.git
Log | Files | Refs | LICENSE

makecert.sh (333B)


      1 #!/bin/zsh
      2 # call this script with an email address (valid or not).
      3 # like:
      4 # ./makecert.sh joe@random.com
      5 mkdir .certs
      6 rm .certs/*
      7 echo "make client cert"
      8 openssl req -new -nodes -x509 -out .certs/client.pem -keyout .certs/client.key -days 3650 -subj "/C=DE/ST=NRW/L=Earth/O=Random Company/OU=IT/CN=www.random.com/emailAddress=$1"
      9