Configure HTTPS in Distro.json File for NetSuite
This guide details how to modify the distro.json file to enable HTTPS configuration in NetSuite. 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
- NetSuite 2026.1: Enhancements to Consolidated Reports and SuiteQL
NetSuite 2026.1 introduces new consolidated reports and SuiteQL tool for improved reporting and data integrity.
- Release Notes PDF Availability and Translations in NetSuite
NetSuite provides PDF files for each Release Note update, improving accessibility and user experience.
- Enhanced Commitment Credits for Flexible Billing in NetSuite
Commitment Credits in NetSuite SuiteBilling offer enhanced flexibility for usage-based billing across diverse services.
- New Parent Role Field for Custom Roles in NetSuite 2025.2
The new Parent Role field facilitates easier role management and visibility in NetSuite 2025.2 for administrators.
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category