@houlak/plexo-sdk 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -151,6 +151,7 @@ var getCertificate = function () { return __awaiter(void 0, void 0, void 0, func
|
|
|
151
151
|
pathPfx = config_1.config.plexoClient.certificatePath;
|
|
152
152
|
pfx = fs.readFileSync(pathPfx);
|
|
153
153
|
logger_lib_1.default.info(pathPfx, 'certificate path');
|
|
154
|
+
logger_lib_1.default.info(config_1.config.plexoClient.certificatePassword, 'certificate path');
|
|
154
155
|
if (pfx.byteLength > 0) {
|
|
155
156
|
logger_lib_1.default.info(pfx, 'certificate is not empty');
|
|
156
157
|
}
|
|
@@ -165,6 +166,8 @@ var getCertificate = function () { return __awaiter(void 0, void 0, void 0, func
|
|
|
165
166
|
return __generator(this, function (_a) {
|
|
166
167
|
privateKey = cert.key;
|
|
167
168
|
stringifiedCert = cert.cert;
|
|
169
|
+
logger_lib_1.default.info(privateKey, 'Private key');
|
|
170
|
+
logger_lib_1.default.info(stringifiedCert, 'stringify certificate');
|
|
168
171
|
resolve({ privateKey: privateKey, cert: stringifiedCert });
|
|
169
172
|
return [2 /*return*/];
|
|
170
173
|
});
|