title: Understand the applicable of configuring tls in spring boot
body: <p>I am going through this article on TLS set up in spring using keystore files and was try to understand the practical use of it.</p>
  <p><a href="https://www.baeldung.com/spring-tls-setup" rel="nofollow noreferrer">https://www.baeldung.com/spring-tls-setup</a></p>
  <p>What we would need to configure such and in which use cases? is it when we want a custom certificate instead of a certificate provided by a certification provider.</p>
  <p>But would not the best way for server to deal with certificates and encryption and establish a secure connection between client and server instead of the application to deal with those things?</p>