We have a Spring Boot application for REST web services which is still under development. And we are using self signed certificate for now.
Now, it will be deployed into a system along with 1 more already developed application. This pre-existing application uses self signed certificate by default but gives client an option to upload CA certificates if they want. Now, we want to use the same certificate for this new application.
Basically, we want the client to use 1 certificate for 2 application running in 1 system.
Now, this existing application has certificate files like .pem and .cer.
How can I use this certificate in my Spring Boot application which uses certificate in the format of jks?
And off course, in case of any update, the certificate should be available to both of the applications.