#Khoa-ssl

1 messages · Page 1 of 1 (latest)

grim jasper
#

Hi there, I was wondering if you could check if you have set up a TLS 1.2 connection please? Any interactions between your server and Stripe must use TLS 1.2. For more information, please refer to: https://stripe.com/docs/security/guide#tls

hollow cargo
#

ok I'll check my server

#

this should be good right?

grim jasper
#

yes, and your website is hosted with https?

hollow cargo
#

yeah I do have https on localhost

#

I wonder if it's related to restsharp?

grim jasper
#

The port 443 is the one your service is using?

hollow cargo
#

yeah

#

is there a way I can make this ssl thing less strict so I can test on my localhost?

#

I remember reading Stripe requires everything to be https and secure

#

but on my local IIS I can only make a fake certification to use https

grim jasper
#

If you are only doing local testing, https is not required. You only need to spin up your server to allow the frontend to interact with.

I was wondering what are you trying to test locally that has run into this error?

hollow cargo
#

I'm using Stripe checkout, after doing my POST, PUT for my orders it should redirect me to checkout.stripe.com/... then people can start enter their bank account

#

I leave stripe in my frontend (MVC), the only API things are just post,put to change my database

#

it runs normally if I run the frontend locally but when the frontend is on the server it broke

grim jasper
#

Does you server enforce TLS 1.2 settings? Sorry I am not very familiar with setting up the server with Microsoft.

hollow cargo
#

I don't know how to check that

#

let me look it up

#

so it has to be TLS 1.2? I cannot enable anything else?

#

is that correct?

grim jasper
hollow cargo
#

does this affect anything?

grim jasper
#

Not for the TLS settings, this is the version of the .NET library