I'm trying to setup ecommerce with SSL

So when I installed open-edx I create SSL for everything, 
lms,cms,ecommerce,discovery etc etc

So now I'm following the steps from 

<goog_698221271>
https://blog.lawrencemcdaniel.com/open-edx-ecommerce/


And I'm stuck and I'm pretty sure that is related to the SSL

And i get something like this

<https://cdn-blog.lawrencemcdaniel.com/wp-content/uploads/2018/04/27171726/open-edx-ecommerce-homescreen-1200x452.png>










This is from  /edx/app/nginx/sites-available/ecommerce 

server {
  server_name ~^((stage|prod)-)?ecommerce.*;
  listen 18130;
  server_name ecommerce.mydomain.com;


  So when the tutorial says  
  sample.com:18130  or sample.com:8002
  I put ecommerce.mydomain.com


  In all places 
  /edx/app/edxapp/lms.env.json
  --------------------------------
  ENABLE_OAUTH2_PROVIDER: "ecommerce.mydomain.com/oauth2"
  JWT_AUTH: "ecommerce.mydomain.com/oauth2"
  JWT_ISSUER: "ecommerce.mydomain.com/oauth2"
  OAUTH_OIDC_ISSUER: "ecommerce.mydomain.com/oauth2"


  STEP 3 https://mysite.com/admin/oauth2/client/1/change/
  --------------------------------
Url:https://ecommerce.mysite.com
Redirect uri: https://ecommerce.mysite.com/complete/edx-oidc/
Logout uri: https://ecommerce.mysite.com/logout/


STEP 5
--------------------------------
sudo su ecommerce -s /bin/bash
cd ~/ecommerce
source ../ecommerce_env
python manage.py makemigrations
python manage.py migrate
python manage.py create_or_update_site \
--site-id=1 \
--site-domain=ecommerce.mysite.com \
--partner-code=edX \
--partner-name='Open edX' \
--lms-url-root=https://mysite.com \
--payment-processors=paypal \
--client-id=ecommerce-key \
--client-secret=ecommerce-secret \
[email protected] \
--discovery_api_url=https://discovery.mysite.com/



Any suggestion where the error might be?


  

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/8d9a7ace-3b4c-4d12-a3b5-e2da424f7aca%40googlegroups.com.

Reply via email to