fix acme prod setting detection

This commit is contained in:
Girish Ramakrishnan
2016-06-22 13:48:07 -05:00
parent eb93903bb8
commit 8cfbf92adc
4 changed files with 179 additions and 9 deletions
+4 -1
View File
@@ -19,7 +19,10 @@ var CA_PROD = 'https://acme-v01.api.letsencrypt.org',
LE_AGREEMENT = 'https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf';
exports = module.exports = {
getCertificate: getCertificate
getCertificate: getCertificate,
// testing
_name: 'acme'
};
function AcmeError(reason, errorOrMessage) {
+4 -1
View File
@@ -1,7 +1,10 @@
'use strict';
exports = module.exports = {
getCertificate: getCertificate
getCertificate: getCertificate,
// testing
_name: 'caas'
};
var assert = require('assert'),