Cloudflare + AWS API Gateway

So you want to use Cloudflare SSL certificates with AWS API Gateway?

First, create an origin certificate in Cloudflare’s and then import it into the AWS Certificate Manager.

Cloudflare -> SSL/TLS-> Origin Certificate -> Create Certificate

Cloudflare Origin Certificate

Open the AWS Certificate Manager and provide it with your certificate body and private key.

The certificate manager will ask you for a certificate chain. You can get that here.

AWS Certificate Manager

Click Review and Import.

You are now ready to use it in the AWS API Gateway.

AWS API Gateway

Happy Hacking!

AWS Devops Guy (mbejda.com)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store