Use send/expecet to automate generation of self signed cert.