Use the write crt file
We should actually allow LOG_TLS now :)
Put in rudimentary cert support and error checking