# Missing or Invalid CSR

**URL:** <https://openziti.discourse.group/t/missing-or-invalid-csr/2492>\
**Category:** General Questions\
**Created:** [April 30, 2024, 8:23am UTC](https://openziti.discourse.group/t/missing-or-invalid-csr/2492 "2024-04-30T08:23:24Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [May 1, 2024, 12:06pm UTC](https://openziti.discourse.group/t/missing-or-invalid-csr/2492/21 "2024-05-01T12:06:11Z")

</div>

Hi @mphayesuk. I was just talking to @scareything and re-reading your issue and I caught something this time that I didn't catch originally:

> So I use the WebUI to create a new Router which generates and JWT file. I copy the file to the Edge Tunnel server and restart the services and I get this error:

Are you really trying to enroll a jwt for a router with ziti-edge-tunnel? If so, I think that's goign to be an issue for sure. The JWT for router enrollment is not intended for use with ziti-edge-tunnel. It's for routers only. You want to create an Identity instead, for use with ziti-edge-tunnel.

Did I read that correctly? Are you making a router in the ui and using that jwt? If so - can you try using an identity instead?

---

<div class="post-metadata">

**Author:** ![mphayesuk](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mphayesuk](https://openziti.discourse.group/u/mphayesuk)\
**Post date:** [May 1, 2024, 2:15pm UTC](https://openziti.discourse.group/t/missing-or-invalid-csr/2492/22 "2024-05-01T14:15:05Z")

</div>

Thanks @TheLumberjack I think you are right, I will do more testing later today and create an identity instead. Again many thanks for your help.

---

<div class="post-metadata">

**Author:** ![mphayesuk](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mphayesuk](https://openziti.discourse.group/u/mphayesuk)\
**Post date:** [May 1, 2024, 9:25pm UTC](https://openziti.discourse.group/t/missing-or-invalid-csr/2492/23 "2024-05-01T21:25:55Z")

</div>

Hi, I think I have confused the guides I have been following.

I need to follow this guide for the test/setup I am trying to do:

> **[Use a Router as a Local Gateway | OpenZiti](https://openziti.io/docs/guides/topologies/gateway/router/)**
>
> 1.0 Introduction

And section 2.2 more specifically.

Thank you to everyone who has helped on this ticket, I really do appreciate it. I will run through this guide again and fingers crossed I get it working. Thanks again.

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [May 1, 2024, 9:29pm UTC](https://openziti.discourse.group/t/missing-or-invalid-csr/2492/24 "2024-05-01T21:29:44Z")

</div>

You're welcome. Do note that 2.2 is about setting up a Router. So you just want to use the router and not ziti-edge-tunnel and you should be good to go 🙂

If you run into future snags though, let us know. We'll help you out and get you going... Cheers!

[Previous page](https://openziti.discourse.group/t/missing-or-invalid-csr/2492.md?page=1)
