AWS APi Gatway Client Certificate with AWS Certificate Manager for Elastic Beanstalk ELB

I have a front-end hosted on a server that invokes a back-end server, i.e. an Elastic Load Balancer (ELB), and using the Elastic Beanstalk for deployment, therefore it takes care of autoscaling.

Ember / Front-end โ†’ ELB โ†’ Autoscaled EC2 instances with Nginx servers

Now I want to add an API between them and make sure that the ELB only accepts requests from the API gateway. I found that โ†’ here <- But I'm using AWS Certificate Manager to push my SSL certificates, and not sure how to use the PEM file / certificate provided by the API gateway.

  • Can I connect the Client Gateway API to the client side file through the certificate manager (console / cli / where) along with the SSL certificates that I bought?

  • Is it possible to complete SSL on ELB and use the API gateway key.

  • To my horror, do I need to manually configure the certificates in the nginx configuration in the .ebextensions file? if so, is there a better way not to push the file with my son in the code repo and use it separately?

0
source share

Source: https://habr.com/ru/post/1014625/