From 8e1aaae2e22d24cfb4cdb90ec79d2ff5cb91aef8 Mon Sep 17 00:00:00 2001 From: Milad Imen Date: Tue, 15 Feb 2022 14:41:56 -0800 Subject: [PATCH] update message to reflect that intermediate certificates may not be directly added/updated (#1929) --- packages/certs-v5/commands/certs/add.js | 4 ++-- packages/certs-v5/commands/certs/update.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/certs-v5/commands/certs/add.js b/packages/certs-v5/commands/certs/add.js index d07acf1dfd..7f15b5d701 100644 --- a/packages/certs-v5/commands/certs/add.js +++ b/packages/certs-v5/commands/certs/add.js @@ -272,8 +272,8 @@ module.exports = { help: 'Note: certificates with PEM encoding are also valid', examples: `$ heroku certs:add example.com.crt example.com.key -Certificate Intermediary: -$ heroku certs:add intermediary.crt example.com.crt example.com.key`, + If you require intermediate certificates, refer to this article on merging certificates to get a complete chain: + https://help.salesforce.com/s/articleView?id=000333504&type=1`, needsApp: true, needsAuth: true, run: cli.command(run) diff --git a/packages/certs-v5/commands/certs/update.js b/packages/certs-v5/commands/certs/update.js index b73f6e67d5..036a41fe7d 100644 --- a/packages/certs-v5/commands/certs/update.js +++ b/packages/certs-v5/commands/certs/update.js @@ -46,8 +46,8 @@ module.exports = { help: 'Note: certificates with PEM encoding are also valid', examples: `$ heroku certs:update example.com.crt example.com.key -Certificate Intermediary: -$ heroku certs:update intermediary.crt example.com.crt example.com.key`, + If you require intermediate certificates, refer to this article on merging certificates to get a complete chain: + https://help.salesforce.com/s/articleView?id=000333504&type=1`, needsApp: true, needsAuth: true, run: cli.command({ preauth: true }, run)