Philip Kim
Philip Kim

Reputation: 97

How can I apply https to flask via using Amazon Certificate Manager (ACM)

I'm using the flask to serve my application. I have received the certificate from AWS Amazon Certificate Manager, but it is not correctly applied to my flask app. How can I solve this problem?

Upvotes: 1

Views: 1486

Answers (1)

colde
colde

Reputation: 3322

AWS Certificate Manager does not allow the created certificates to be exported. So the best way to achieve what you are trying to to, is create an ELB in front of your Flask app and then using the certificate on that.

You can do this with either the Classic Load Balancer or the Application Load Balancer.

If you insist on running it within the Flask instance itself, then something like Let's Encrypt is likely a better solution.

Upvotes: 2

Related Questions