include generate_cert to make test certs easily.