# Issues with login and self-signed certificates

**URL:** <https://www.thethingsnetwork.org/forum/t/issues-with-login-and-self-signed-certificates/37893>\
**Category:** The Things Stack v3\
**Created:** [June 18, 2020, 9:22am UTC](https://www.thethingsnetwork.org/forum/t/issues-with-login-and-self-signed-certificates/37893 "2020-06-18T09:22:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RTEC](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rtec/32/25844_2.png) [@RTEC](https://www.thethingsnetwork.org/forum/u/RTEC)\
**Post date:** [July 2, 2020, 2:36pm UTC](https://www.thethingsnetwork.org/forum/t/issues-with-login-and-self-signed-certificates/37893/4 "2020-07-02T14:36:20Z")

</div>

Hello @benolayinka, thank you for your reply.  
No, I haven’t solved the issue, yet. I am working on it, trying several ways, but at the moment I am getting small progresses.

I tried accessing with the CLI but I get an error which basicaly told me that the certificates were for “[i4s.example.com](http://i4s.example.com)”, while I was trying to access localhost.  
So, I generated the certificates for localhost and checked them with

> “openssl verify -CAfile ca.pem cert.pem”

also, from inside the container:

> ```
> cat /var/run/secrets/cert.pem
> cat /var/run/secrets/ca.pem
> cat /var/run/secrets/key.pem
> 
> ```

In both case I got a positive response, but once I tried to access the CLI I got an error due to unknow authority. Still working to fix it… not sure if maybe I have to re-initialize the stack from the beginning.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/issues-with-login-and-self-signed-certificates/37893)._
