Modules

filter

 

Objects/Functions

module (N/certificateControl)

SuiteScript 2.0

Certificate.password

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Certificate.password for more information.

N/certificateControl Module
Certificate.password
Property Description: The password for the digital certificate. If the certificate file is password-protected, you can store the password with the certificate record. If the certificate is not password-protected, enter an empty string.
Type: string (write-only)
Module: N/certificateControl Module
Parent Object: certificateControl.Certificate
Sibling Object Members: Certificate Object Members
Since: 2019.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Certificate.password

Example:

// Code Example 1
// Add additional code
//...
//create a variable to hold the properties of the certificate object
var options = {
name : 'testCertp12',
description : 'testDescription',
//for password, enter the guid associated with your digital certificate or an empty string
password: 'yourCertPassword',
scriptId : '_testidp12',
};
//create the certificate record with the options variable
var newCertificate = cc.createCertificate(options);
//save the certificate object
newCertificate.save();
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156263312543.html