Modify the distro.json File
Documentation article about Modify the distro.json File
Modify the distro.json File
Modify the distro.json File
To access a secure domain on the local sever, you must ensure that the https object exists in the local object of taskConfig. After adding the https object, add an entry for the HTTPS port, certificate and key.
Your distro.json file should look similar to the following:
1"tasksConfig": {2 "local": {3 "http": {4 "port": 77775 },6 "lessSourcemap": false,7 "jsRequire": true,8 "https": {9 "port": 7778,10 "key": "KEYPEM",11 "cert": "CERTPEM"12 }13 },14 ...Note:
You must set the key and cert properties as shown above. The local server uses these values to determine the environment variables used to local the certificate and key required to use HTTPS.
Frequently Asked Questions (4)
What is the purpose of adding an 'https' object to the 'distro.json' file?
Do I need to include both 'key' and 'cert' properties in the 'https' configuration?
Is it mandatory to use the specified port numbers for 'http' and 'https' in the 'distro.json' file?
Will modifying the 'distro.json' file impact existing server configurations?
Was this article helpful?
More in General
- Field Service Management Enhancements and Bug Fixes for 2026
Overview of the 2026 Field Service Management SuiteApp updates showcasing enhancements and bug fixes.
- Example
Documentation article about Example
- Pass String Literals
Documentation article about Pass String Literals
- Manual Edits
Documentation article about Manual Edits
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category