title: SpringBoot - Reload SSL Cert using Spring Cloud Config
body: <p>I'm learning about using <strong>SSL Certificates</strong> with Spring Boot. Specially using Let's Encrypt ones.</p>
  
  <p>They have the limitation of being expired after 3 months, so they should be renewed and as far as I know, when renewing the certificate we need to restart the Spring Boot app in order to make it load the new one instead.</p>
  
  <p>Some time ago, I was playing around with Eureka and Zuul Gateway, to develop microservices... And I recall I also set a git repo to be used as a Spring Cloud Config. I do not remember well, I think we can use Spring Cloud Config without using the microservice arch.</p>
  
  <p>So my question is: Can we use this <strong>Spring Cloud Config</strong> mechanism that reload properties <strong>to reload the SSL Certificate</strong>? The idea would be to trigger the properties reloading mechanism, and as the <code>ssl</code> is configured via those properties, I think maybe it can be reloaded.</p>
  
  <p>I'm planning on automating the process of getting and renewing the Let's Encrypt certificate and avoid the downtime on my app.</p>
  
  <p>Best regards!</p>