title: Use AWS issued certificate for a Spring Boot app
body: <p>I have an app running on AWS that has got a React JS front-end hosted through S3 and Spring Boot back-end hosted on EC2 instances behind a <em>load balancer</em>. I got my SSL certificate for my domain and I use CloudFront to redirect HTTP requests into HTTPS.</p>
  <p>My issue is that I can connect through HTTPS to my load balancer, however, my Spring Boot API won't accept HTTPS from the load balancer. Therefore I use HTTP and anytime I send an API call to my backend, my site changes to &quot;<em>Not Secured</em>&quot;.</p>
  <p>Is there a way to use the Amazon issued certificate in my Spring Boot API in order for it to accept HTTPS calls? I have only found tutorials using <em>self-signed certs</em> and was wondering if I can use my AWS certificate instead.</p>
  <p>If there is a way, could you please provide an example of code I need to insert in my <code>application.properties</code> file?</p>
  <p>Cheers<br />
  Kris</p>