ssl-tester
ssl-tester copied to clipboard
enhancement: specify cert paths via command line arguments
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
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?
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
I understand what you're asking for now. Just need to figure out how to code it in the boundless free time.