I have an REST API written in Spring Framework. I want to implement mutual TSL authentication. I know that server has a certificate and client should also have one, but the first question is where does he get it from? Second question would be how to make my API and Android App use it?
I have seen a few articles about it. I know that I should create and sign server certficate and put an adress of key store in application.properties, but what next, how do I make every client have its own certificate?