Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Documentation #3

Open
alfonsoegio opened this issue Dec 12, 2018 · 9 comments
Open

Configuration Documentation #3

alfonsoegio opened this issue Dec 12, 2018 · 9 comments

Comments

@alfonsoegio
Copy link
Member

Please, document all the configuration management / files to configure ports / IPs (specially the 5GCity-AAA API url); integration documentation.

@alfonsoegio alfonsoegio added this to the Interim Release cleanup milestone Dec 12, 2018
@rpreto
Copy link

rpreto commented Dec 14, 2018

Component dockerized and readme file updated

@rpreto rpreto closed this as completed Dec 14, 2018
@alfonsoegio
Copy link
Member Author

API_BASE_URL=http://206.189.7.202:8000 --build-arg AUTH_SERVER_URL=http://206.189.7.202:7070/auth

@alfonsoegio alfonsoegio reopened this Dec 17, 2018
@alfonsoegio
Copy link
Member Author

Can somebody explain what API_BASE_URL stands for? what's the difference with AUTH_SERVER_URL?

@rpreto
Copy link

rpreto commented Dec 17, 2018

As mentioned in the README:

To change Gravitee or Keycloak need to pass --build-arg to change Gravitee modify API_BASE_URL="http://XXX.XXX.X.XXX:8000 to modify Keycloak change AUTH_SERVER_URL="http://XXX.XXX.X.XXX:7070/auth"

@alfonsoegio
Copy link
Member Author

OK, thanks, so API_BASE_URL would correspond to
Gravitee GW | 8000 | Host in AAA readme and keycloak to keycloak | 8080 | Host in the same document: https://github.com/5GCity/5GCity-AAA

@alfonsoegio
Copy link
Member Author

OK, I've tried this, but now after running the 5gcity:latest container and browsing http://5gcity-slave1.i2cat.net:5000 I'm redirected to 8080 port with a 5GCITY page that complains "we're sorry ... https is required"; I can ask our system staff to ask for a TLS certificate, but again, where's the documentation about how to configure dashboard / keycloak etc ... to use it?

@ubiteixeira
Copy link

The https is not needed probably is something regarding the keycloak. Let me check

@ubiteixeira
Copy link

@alfonsoegio this problem is due to a keycloak configuration. By default and for security reasons keycloak uses https. I've added on the AAA project a new realm called master. Please import the realm with the command

python main.py keycloak --import_realm master

Have in mind that keycloak's import and export functionalities only work on the same host where the AAA is running. This command will overwrite your master realm and allow you to access keycloak.

Please import also the 5GCity realm with the SSL disabled

python main.py keycloak --import_realm 5gcity

@alfonsoegio
Copy link
Member Author

alfonsoegio commented Dec 19, 2018

OK, so this is an AAA issue ... I'll try the --import_realm master ... anyway, can we have documentation regarding how to setup real TLS certificates; this way we can have a proper setup from the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants