简体   繁体   中英

Generating Public/Backend Key for AWS ELB

I am trying to implement end-to-end encryption for the aws classic load balancer. I see this reference provided by AWs and I kinda followed all the instructions correctly except for the last one whic is to add the public key .ebextensions/https-backendauth.config. Can you please guide me on how can I generate the public/backend key? I am weak on ssl and I do understand certificate components to apply in an app however for this one I'm still not able to figure it out.

You'll need to follow the instructions in https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-ssl.html which is linked from the document you have above. The summary of the document is that you will need to create a self-signed certificate using the openssl tool.

Once you have created the self-signed certificate, if you've followed the guide word for word, you will have a file called server.crt which is your public certificate whose contents you can insert into .ebextensions/https-backendauth.config .

This process also requires that you upload your certificate information to your EC2 server. That process is described in https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-singleinstance.html (also linked in the above document). The end result is that your certificate and private key files will be placed in specific locations on your EC2 instance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM