diff --git a/config.js b/config.js index 391a574b3f..934aead23c 100644 --- a/config.js +++ b/config.js @@ -71,8 +71,9 @@ config.BUFFERS_MEM_LIMIT = Math.min( // CERTIFICATE CONFIG // //////////////////////// -config.STS_SERVICE_CERT_PATH = '/etc/sts-secret'; config.S3_SERVICE_CERT_PATH = '/etc/s3-secret'; +config.STS_SERVICE_CERT_PATH = '/etc/sts-secret'; +config.IAM_SERVICE_CERT_PATH = '/etc/iam-secret'; config.MGMT_SERVICE_CERT_PATH = '/etc/mgmt-secret'; config.EXTERNAL_DB_SERVICE_CERT_PATH = '/etc/external-db-secret'; diff --git a/src/util/ssl_utils.js b/src/util/ssl_utils.js index 48b1a04249..28af277e99 100644 --- a/src/util/ssl_utils.js +++ b/src/util/ssl_utils.js @@ -46,6 +46,7 @@ const certs = { S3: new CertInfo(config.S3_SERVICE_CERT_PATH), EXTERNAL_DB: new CertInfo(config.EXTERNAL_DB_SERVICE_CERT_PATH), STS: new CertInfo(config.STS_SERVICE_CERT_PATH), + IAM: new CertInfo(config.IAM_SERVICE_CERT_PATH) }; function generate_ssl_certificate() {