# TheThingsStack V3.8.7 with self-signed certificate -\> Forbidden Token exchange refused

**URL:** <https://www.thethingsnetwork.org/forum/t/thethingsstack-v3-8-7-with-self-signed-certificate-forbidden-token-exchange-refused/38902>\
**Category:** Uncategorized\
**Created:** [July 31, 2020, 8:17am UTC](https://www.thethingsnetwork.org/forum/t/thethingsstack-v3-8-7-with-self-signed-certificate-forbidden-token-exchange-refused/38902 "2020-07-31T08:17:53Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![dsmith](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dsmith/32/25844_2.png) [@dsmith](https://www.thethingsnetwork.org/forum/u/dsmith)\
**Post date:** [December 3, 2020, 10:55am UTC](https://www.thethingsnetwork.org/forum/t/thethingsstack-v3-8-7-with-self-signed-certificate-forbidden-token-exchange-refused/38902/21 "2020-12-03T10:55:03Z")

</div>

Following up: I have managed to set up The Things Stack and log in to the console by following @TheIronNinja’s instructions above and using [these steps](https://www.thethingsnetwork.org/forum/t/token-exchange-refused-error/41643/14) for setting up https.

I am still having some issues with `ttn-lw-cli` (it’s trying to hit `localhost` and my certificate is for my machine’s static IP), but `ttn-lw-stack config | grep localhost` shows that there are some more config options using `localhost` which I can probably tweak to fix that.

Also of note is the following github issue which describes the IronNinja has mentioned: [https://github.com/TheThingsNetwork/lorawan-stack/issues/1230](https://github.com/TheThingsNetwork/lorawan-stack/issues/1230)

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/thethingsstack-v3-8-7-with-self-signed-certificate-forbidden-token-exchange-refused/38902)._
