remove explicit encoding
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ Acme2.prototype.signCertificate = async function (finalizationUrl, csrPem) {
|
||||
assert.strictEqual(typeof finalizationUrl, 'string');
|
||||
assert.strictEqual(typeof csrPem, 'string');
|
||||
|
||||
const csrDer = await shell.spawn('openssl', ['req', '-inform', 'pem', '-outform', 'der'], { input: csrPem, encoding: 'buffer' });
|
||||
const csrDer = await shell.spawn('openssl', ['req', '-inform', 'pem', '-outform', 'der'], { input: csrPem });
|
||||
|
||||
const payload = {
|
||||
csr: b64(csrDer)
|
||||
|
||||
Reference in New Issue
Block a user