title: How to use a .pem SSL certificate for REST API developed as Spring Boot application
body: <p>We have a Spring Boot application for REST web services which is still under development.
  And we are using self signed certificate for now.</p>
  <p>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.</p>
  <p>Basically, we want the client to use 1 certificate for 2 application running in 1 system.</p>
  <p>Now, this existing application has certificate files like .pem and .cer.<br />
  How can I use this certificate in my Spring Boot application which uses certificate in the format of jks?</p>
  <p>And off course, in case of any update, the certificate should be available to both of the applications.</p>