[Solved] Warp TLS to use locally signed cert for https

I'm using warp to serve an app that uses a third party for auth. The callback from that auth must be to a secure address (https://...) so I'm trying to set up localhost to allow that. I have followed steps to successfully create my localhost.crt and have added it to my trust anchors on the local machine. It appears the tls method is what I'm after but the documentation is not entirely clear to me.

Had to insert the tls method between server(routes) and run(addr). Browser doesn't trust the cert still but the server works.