You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const checkCommandForIO = element => element == '-in' || element == '-out'
|| element == '-keyout' || element == '-signkey' || element == '-key' || element == '-config'
The text was updated successfully, but these errors were encountered:
jiaqingw
pushed a commit
to jiaqingw/openssl-nodejs
that referenced
this issue
Dec 1, 2020
I tried to use the -subj parameter and used "test-intern" as Common Name.
The module interprets the "-in" as new parameter and not as string.
Example throwing an error:
global.openssl(['req', '-config', {name: "csr.conf", buffer: csrConfigBuffer}, '-new', '-key', {name: "private.pem", buffer: privateKeyBuffer}, "-subj", "/C=Test/ST=Test/L=Test/O=Test/OU=Test/CN=test-intern"], function(errorOutput, bufferOuptut) {
Resolved by changing:
to:
The text was updated successfully, but these errors were encountered: