ssl-tester icon indicating copy to clipboard operation
ssl-tester copied to clipboard

enhancement: specify cert paths via command line arguments

Open vielmetti opened this issue 6 years ago • 3 comments
trafficstars

Right now, if I do this:

Eds-MacBook-Pro:~ ed$ sudo go/bin/ssl-tester 
Password:
2019/02/02 01:30:10 open /etc/ssl-tester/fullchain.pem: no such file or directory

and want to make this work, I need to drop files in a certain directory in the file system.

As an enhancement, take a command line argument. It might look something like

ssl-tester --directory ./ssl-tester

vielmetti avatar Feb 02 '19 06:02 vielmetti

I'm a little confused. Would this problem be solved by adding an ENV for PATH? Should I set our make use of a GOPATH? Any idea how to set an ENV in a Dockerfile but also specify a default?

chris-short avatar Feb 02 '19 12:02 chris-short

sorry to be confusing; I was just noting that having a hard-coded directory for test certs might make this difficult to use on systems where people would prefer not to make changes in /etc

vielmetti avatar Feb 03 '19 21:02 vielmetti

I understand what you're asking for now. Just need to figure out how to code it in the boundless free time.

chris-short avatar May 16 '19 11:05 chris-short