OPEN-EDX Ecommerce + SSL = HELP!

99 views
Skip to first unread message

Leo Zurick

unread,
Jan 22, 2019, 3:50:40 PM1/22/19
to General Open edX discussion


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 


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

And i get something like this












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  


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


  --------------------------------


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 \
--from-email=ma...@gmail.com \
--discovery_api_url=https://discovery.mysite.com/



Any suggestion where the error might be?


  

Leo Zurick

unread,
Jan 24, 2019, 1:36:19 PM1/24/19
to General Open edX discussion
any idea????

Leo Zurick

unread,
Mar 4, 2019, 1:59:12 PM3/4/19
to General Open edX discussion
????

Nguyễn Văn Tú

unread,
Mar 4, 2019, 8:06:16 PM3/4/19
to edx-...@googlegroups.com
Can you try to access  https://ecommerce.mydomain.com/admin or /login or /courses?

--
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/58af443e-df98-482f-be67-c73ed43d4415%40googlegroups.com.

Leo Zurick

unread,
Mar 7, 2019, 9:32:50 AM3/7/19
to General Open edX discussion


when i try
 https://ecommerce.mydomain.com/admin   or 

 https://ecommerce.mydomain.com/login

or 

 https://ecommerce.mydomain.com/courses
I get {"status":404} the only address that get me something is
 https://ecommerce.mydomain.com/docs

I get 

Analytics API



Leo Zurick

unread,
Mar 20, 2019, 11:01:19 AM3/20/19
to General Open edX discussion
I have no clue :S

Leo Zurick

unread,
Mar 21, 2019, 10:51:47 AM3/21/19
to General Open edX discussion

?
Reply all
Reply to author
Forward
0 new messages