Issues with login and self-signed certificates

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”, 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.

1 Like