How to enable SSL (https) on localhost?
Hi Team,
We have configured the 'adyen' payment method in our local B2B development setup, after configuration backend looks good but in storefront on checkout payment step application is throwing below error. The error is related to SSL disabled. From localhost application is trying to hit payment gateway url with 'https' secured url using curl.
https://checkout-test.adyen.com/v32/paymentMethods
Your help will be appreciated.
Answers
-
Hello.
In your deploy file for local environment you can enable ssl by setting ssl: enabled flag to true.
After that you need to boot again this deploy file and run the project.
Also this needs to be configured in order to work:
1 -
Hi Domagoj,
Thanks for your help, now I'm able to enabled SSL on my local setup.
Until Yesterday I was in the assumption that, above mentioned exception is coming due to SSL disabled issue but that was not the case. It is coming because of "host not resolving" issue on local setup with docker.
Could you please help me again here, how I can fix this error on my local setup. I assume this error must be machine specific. I'm using ubuntu 20.4
Error:
GuzzleHttp\Exception\ConnectException - cURL error 6: Could not resolve host: checkout-test.adyen.com
I have run this url with curl in the cmd and postman and found curl responding correctly whereas with docker setup application is giving the above error.
I double check all the local setup related host file entries are correct.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random