Modify the distro.json File
Documentation article about Modify the distro.json File Modify the distro.json File Modify the distro.json File 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
- Release Notes PDF Availability in NetSuite
NetSuite provides generated PDF files for each Release Note update, enhancing accessibility and user experience.
- Commitment Credits for Billing in NetSuite SuiteBilling
Commitment Credits in SuiteBilling enhance flexible usage-based billing across services. Managing usage-based billing in NetSuite SuiteBilling has been
- Prepay Across Subscriptions in NetSuite SuiteBilling
Prepay Across Subscriptions enables efficient management of prepaid services in NetSuite SuiteBilling.
- Edit the Extension Manifest: Manual Edits
Documentation article about Manual Edits Your extension's Workspace directory includes a manifest.json file, which includes all the information required to
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category