Endpoint Security Complete

 View Only

Updating a Mobility site name and FQDN 

Dec 15, 2015 02:39 PM

Important: Ensure that the primary Mobility front-end(s) and databases have been fully backed up before proceeding further.  Any changes made to the Mobility installation name and residing domain will cause a loss in device communication.  This should never be done on a production Mobility environment.

1. Reconfigure the operating system to match the desired FQDN (Note: this is not required, but is good practice)

2. If using SSL for the web server, obtain a revised certificate and key for the new FQDN of the server, update the following files, then restart the appcenter-services

 

/usr/local/nukona/certs/configurator/gd_bundle.crt  (certificate bundle)

/usr/local/nukona/certs/configurator/sign.crt  (App Center server's certificate)

/usr/local/nukona/certs/configurator/sign.key  (App Center server's private key)

 

3. For 5.3.1 or later create the new nginx.crt file by running the following commands, as root:

cd /usr/local/nukona/certs/configurator/
cat sign.crt > nginx.crt
cat gd_bundle.crt >> nginx.crt
chown nginx:nginx nginx.crt

4. Edit the ON_PREM_INSTALL and SITES_DOMAIN directives in the file:  /usr/local/nukona/appstore_cu/appstore_cu/settings_local.py, to match the new/desired domain

5. Update the django_site table in the appstore database by running the following commands, as root, from the Mobility front-end server:

    a. Query the django_site table to view the original domain name:
 

select * from django_site;

 

django_site.png

    b. Update the domain at id = 1 with the following:

UPDATE `django_site` SET `domain`='newdomain.com' WHERE `id`='1';

Note: Substitute “newdomain.com” with the desired residing domain.  Do not include the installation service name or tenant name.

6. Change the current working directory to:  /usr/local/nukona/appstore_cu/, then run, as root:

cd /usr/local/nukona/appstore_cu
python manage.py scripts site

appstore_cu.PNG

Note: In addition to the FQDN being referenced by the invitation e-mails and links to download the App Center clients, it is also used by the App Center Client (ADA) and wrapped apps. After completing the above steps, each app will need to be re-wrapped:

To re-wrap an app, either the policy can be removed then re-added to the app, or any change can be made the associated App Policies.

Additionally, both the Android ADA and iOS ADA will need to be recompiled:

For the Android ADA, in the App Center console access:  Settings > Device Management> Rebuild Android App Center Client.

 

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.