Hello,
I have a web api installed using docker in my Ubuntu. What I want to do is to expose my API using nginx reverse proxy so that the clients consume my API using a https endpoint. One requirement is to allow only clients with known digital certificates to consume the API. I have the crt files of the clients. I installed nginx on my Ubuntu 18.04 and generated a self signed certificate for the nginx server. I don’t know how to do with the client side. I tried to set ssl_client_certificate to use one of my client certificates but I am having a 400 error.
I have a web api installed using docker in my Ubuntu. What I want to do is to expose my API using nginx reverse proxy so that the clients consume my API using a https endpoint. One requirement is to allow only clients with known digital certificates to consume the API. I have the crt files of the clients. I installed nginx on my Ubuntu 18.04 and generated a self signed certificate for the nginx server. I don’t know how to do with the client side. I tried to set ssl_client_certificate to use one of my client certificates but I am having a 400 error.