Stripe connection failing (Bitnami package

Hi, I’m new to Ghost, and am setting up a self-hosted instance on AWS Lightsail (with a domain from Cloudflare). The setup process has been pretty straightforward, save for connecting to my Stripe account.

Every time I attempt to connect with Stripe in order to generate the necessary secure key, the new tab times out, resulting in a 502 proxy error:

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
Reason: Error reading from remote server

At first I thought it might have been the native Cloudflare service integrated with the domain, but even after turning all that stuff off, it’s still landing on the error page. Has anyone else experienced this, or have any experience with Cloudflare domains and the Bitnami Ghost package?