# Can not connect to stripe test mode due to SSL restriction

**URL:** <https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981>\
**Category:** Installation\
**Created:** [August 17, 2021, 5:20pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981 "2021-08-17T17:20:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBJsolution](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gbjsolution/32/4738_2.png) [@GBJsolution](https://forum.ghost.org/u/GBJsolution)\
**Post date:** [August 17, 2021, 5:20pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/1 "2021-08-17T17:20:29Z")

</div>

I am running Ghost in development mode locally. In the older version of Ghost, I could connect to Stripe in test mode for testing purposes while developing themes. Currently, there is a stripe connect button but it is disabled and showing SSL issue.

![Screenshot 2021-08-17 224859](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/0/031bf2eb77641a4c54fafab53fa388382734118f.jpeg)

Is there any solution to this?

---

<div class="post-metadata">

**Author:** ![ahuman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahuman/32/14232_2.png) [@ahuman](https://forum.ghost.org/u/ahuman)\
**Post date:** [August 18, 2021, 3:07pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/2 "2021-08-18T15:07:53Z")

</div>

Hey! I had the same issue. You’ll need the Stripe CLI installed locally and then you’ll need to set up the forwards. This post here was helpful for me:

> [@Stripe checkout not working in local development installation](https://forum.ghost.org/t/stripe-checkout-not-working-in-local-development-installation/16142/3):
>
> Hi, maybe smth went wrong or you didn’t start ghost with the webhook properly. install stripe cli ([Get started with the Stripe CLI | Stripe Documentation](https://stripe.com/docs/stripe-cli#install)) i did it via apt-get, but it’s up to you pair stripe-cli with stripe account $ stripe login you will be prompted with a pairing code and a URL visit the URL and allow access set your stripe-cli to listen stripe listen --forward-to http://localhost:2368/members/webhooks/stripe/ you will be prompted with a webhook signing secret finally…

Hope that helps!

---

<div class="post-metadata">

**Author:** ![GBJsolution](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gbjsolution/32/4738_2.png) [@GBJsolution](https://forum.ghost.org/u/GBJsolution)\
**Post date:** [August 18, 2021, 5:24pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/3 "2021-08-18T17:24:46Z")

</div>

Actually, that question was asked by me a while ago. But the problem in this question is different than that question.

Anyways, are you able to connect to the stripe from the dashboard in a local development installation?  
The ghost version is the latest version.

Nevertheless, thank you very much for your helping intention.

---

<div class="post-metadata">

**Author:** ![ahuman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahuman/32/14232_2.png) [@ahuman](https://forum.ghost.org/u/ahuman)\
**Post date:** [August 18, 2021, 5:52pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/4 "2021-08-18T17:52:59Z")

</div>

Sorry! I should have read that more carefully.

I can connect to Stripe from the dashboard. In a fresh install, I went to Settings \> Membership and then Portal Settings. (Not the dialog at the bottom of the page.)

In the Portal Settings modal that comes up, there’s a Connect to Stripe button. That brings up a second modal, where there’s a Connect to Stripe button and a “test mode” switch. The Connect with Stripe blue button then takes me to the authorization page where it shows me my accounts, and then there’s an orange “Test mode, skip this form” dialog. If you skip the form, it’ll show you your secure key, and you can copy and paste it into the Connect with Stripe modal.

From that point on the Stripe CLI shows me that it’s reading things sent to the web hooks, even though the Settings \> Membership page doesn’t show me connected to Stripe.

---

<div class="post-metadata">

**Author:** ![GBJsolution](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gbjsolution/32/4738_2.png) [@GBJsolution](https://forum.ghost.org/u/GBJsolution)\
**Post date:** [August 18, 2021, 6:35pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/5 "2021-08-18T18:35:28Z")

</div>

Please don’t be sorry, it happens to all of us.

I have followed the same step you described but it did not solve the issue. Please see the following screenshots. Also because of this Issue, I can not add complimentary subscriptions to the members which I had created before.

 ![portal](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/b92d39286e942256218dabd4a47fc5a91bde308b.png)

 ![not-being-saved](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/a/a420475ae8d61d11773774dcadc7db049b652b7d.png)

 ![connected-but ssl-issue](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/0/0adbc5cdcbc2c5eeca273d6af78eeb40795f8e3b.png)

---

<div class="post-metadata">

**Author:** ![ahuman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahuman/32/14232_2.png) [@ahuman](https://forum.ghost.org/u/ahuman)\
**Post date:** [August 18, 2021, 10:21pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/6 "2021-08-18T22:21:54Z")

</div>

What does your Stripe CLI show on the command line?

---

<div class="post-metadata">

**Author:** ![GBJsolution](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gbjsolution/32/4738_2.png) [@GBJsolution](https://forum.ghost.org/u/GBJsolution)\
**Post date:** [August 19, 2021, 10:47am UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/7 "2021-08-19T10:47:35Z")

</div>

Nothing specific is being logged in stripe CLI

Uploading: stripe-cli.png…

I have also tried to debug by comparing network requests and the database. Few of the keys are in payload but not being saved in the settings table in the database.

![payload](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/0/00b63ce5ed4cc64f1317474a24e9aee6022c58ed.png)

 ![settings-table](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/8/850e796242fdab54d21a497c01feff103375d8f7.png)

---

<div class="post-metadata">

**Author:** ![nikitapashinsky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/nikitapashinsky/32/11125_2.png) [@nikitapashinsky](https://forum.ghost.org/u/nikitapashinsky)\
**Post date:** [November 4, 2021, 9:32pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/8 "2021-11-04T21:32:52Z")

</div>

Were you able to solve this by any chance?

---

<div class="post-metadata">

**Author:** ![GBJsolution](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/gbjsolution/32/4738_2.png) [@GBJsolution](https://forum.ghost.org/u/GBJsolution)\
**Post date:** [November 6, 2021, 3:42am UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/9 "2021-11-06T03:42:51Z")

</div>

No, I still facing the issue. For now, I have set up a test site on the server.

---

<div class="post-metadata">

**Author:** ![ckmahoney](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ckmahoney/32/17898_2.png) [@ckmahoney](https://forum.ghost.org/u/ckmahoney)\
**Post date:** [May 26, 2022, 11:54pm UTC](https://forum.ghost.org/t/can-not-connect-to-stripe-test-mode-due-to-ssl-restriction/24981/10 "2022-05-26T23:54:58Z")

</div>

Chiming in to second the problem.  
I am customizing the subscribed user experience, but can’t test this locally because Stripe (in test mode) says it requires SSL.

I tried running a couple reverse proxies locally to no avail; would rather just bypass the requirement altogether.

Any other ideas?
