wintersteiger / vscode-x509

MIT License
2 stars 0 forks source link

can't get it to work - always fails with "unknown option -nocert" #1

Closed wizzard0 closed 1 year ago

wizzard0 commented 1 year ago

show-x509 v0.0.1 VS Code 1.76.0 on macOS Ventura 13.2.1 (M1)

% where openssl
> /usr/bin/openssl
% openssl version
> LibreSSL 3.3.6
wintersteiger commented 1 year ago

Thanks for the report! Apparently LibreSSL doesn't support the -nocert option. The extension just calls out to the openssl binary and assumes it's the normal OpenSSL. (And yes, it just puts the output into a new file editor.)

wizzard0 commented 1 year ago

Seems so! At the same time I don’t want to replace the default macOS openssl either %)

On Mon, Mar 6, 2023 at 14:14, Christoph M. Wintersteiger @.***> wrote:

Thanks for the report! Apparently LibreSSL doesn't support the -nocert option. The extension just calls out to the openssl binary and assumes it's the normal OpenSSL. (And yes, it just puts the output into a new file editor.)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wintersteiger commented 1 year ago

I've added configuration options that let you set the path to the binary and additional arguments, so that should work in most circumstances now.