Rename getAdminCerticate to getCertificate

This commit is contained in:
Girish Ramakrishnan
2018-01-30 10:13:28 -08:00
parent 79f2709f3a
commit 4a4f1b883a
2 changed files with 11 additions and 25 deletions

View File

@@ -524,7 +524,7 @@ function restartMail(callback) {
const memoryLimit = Math.max((1 + Math.round(os.totalmem()/(1024*1024*1024)/4)) * 128, 256);
// admin and mail share the same certificate
certificates.getAdminCertificate(function (error, cert, key) {
certificates.getCertificate({ intrinsicFqdn: config.adminFqdn(), domain: config.adminDomain() }, function (error, cert, key) {
if (error) return callback(error);
// the setup script copies dhparams.pem to /addons/mail