Create TLS certificates for relay usage
You can't be a Tor relay without being a TLS server, and you can't be a TLS server without an x509 certificate.
Fortunately, our v3+ link protocol lets you have any kind of x509 certificate, so we get to pick what it is. Right now, C tor does a certificate for a 2048-bit RSA key, signed by our 1024-bit identity key, but there is absolutely no reason to do that any more.
I'm inclined, for now, to go with P-256 for issuer and signer as a good compromise between "good enough" and "common enough".
But rather than try to get too far into the arms race of looking like real certificates, I'm inclined instead to allow arti to read TLS certificates and keys from disk, so that people can drop in letsencrypt certificates if they choose to do so. That can be a later feature.