How to generate account certificate, the cert.pem file

Hello,

how to generate account certificate, the cert.pem file ?

We are trying to setup a new tunnel for exposing localhost to internet .

Step 2 :

Create a locally-managed tunnel (CLI) · Cloudflare Zero Trust docs

Please help us
Thanks

Hello,
I found the solution . The command below do the work automatically :
$ cloudflared tunnel login

Thanks