Configure KEYPEM and CERTPEM Environment Variables
Set KEYPEM and CERTPEM environment variables after generating your server certificate and private key to enable secure communications.
After generating a server certificate and private key, you need to configure environment variables that point to these files, specifically KEYPEM and CERTPEM. Setting these variables is crucial before running the local server for your application.
Setting the Environment Variables
To define the environment variables for your operating system, use the standard method for creating environment variables. Here’s how you can set them:
-
KEYPEM: This variable should point to the path of your server private key file.
KEYPEM=<path_to_file>/server.key -
CERTPEM: This variable should point to the path of your server certificate file.
CERTPEM=<path_to_file>/server.crt
Example for Windows
If you are using Windows, you can set the environment variables via the command prompt as follows:
set KEYPEM=c:\OpenSSL-Win64\server.keyset CERTPEM=c:\OpenSSL-Win64\server.crtImportant Note
Ensure these environment variables are configured correctly before starting your local server, as they are crucial for establishing secure communications.
Frequently Asked Questions (4)
How do I set the KEYPEM and CERTPEM environment variables on Windows?
Do I need to configure KEYPEM and CERTPEM on all operating systems?
What happens if I incorrectly set the KEYPEM or CERTPEM environment variables?
Can I use any names other than KEYPEM and CERTPEM for the environment variables?
Was this article helpful?
More in Integration
- Loop Returns Integration in NetSuite Connector 2026.1
Updated for NetSuite 2026.1, including enhancements to the Loop Returns integration. Loop Returns Integration in NetSuite Connector 2026.1
- Concurrency Governance Limits in NetSuite SuiteCloud
Concurrency governance limits are determined by NetSuite service tiers and SuiteCloud Plus licenses, impacting integration performance.
- Create Integration Records for OAuth 2.0 in NetSuite 2026.1
In NetSuite 2026.1, administrators can create integration records for applications to use OAuth 2.0, enabling secure access. Here's how.
- Enriched Bank Data Matching Improvements in NetSuite
Enriched Bank Data enhances matching of imported transactions to the general ledger, improving accuracy with AI-generated insights.
Advertising
Reach Integration Professionals
Put your product in front of NetSuite experts who work with Integration every day.
Sponsor This Category