Certificate.save()

Note:

The content in this help topic pertains to SuiteScript 2.0 and SuiteScript 2.1.

Method Description

Saves a certificate record object.

Returns

certificateControl.Certificate object

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Governance

10 units

Module

N/certificateControl Module

Parent Object

certificateControl.Certificate

Sibling Object Members

Certificate Object Members

Since

2019.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/certificateControl Module Script Samples.

            // Add additional code
...
fileObj = file.load({
    id: 'SuiteScripts/ecdsa.p12'
    });
loadedCertificate.file = fileObj;
loadedCertificate.password = '022b490ad4334c7e86a8304f937ec68f',
loadedCertificate.save();
...
// Add additional code 

          

Related Topics

Digital Signing
Uploading Digital Certificates
N/https/clientCertificate Module
N/crypto/certificate Module

General Notices