F5-Labs / cryptonice

CryptoNice is both a command line tool and library which provides the ability to scan and report on the configuration of SSL/TLS for your internet or internal facing web services. Built using the sslyze API and ssl, http-client and dns libraries, cryptonice collects data on a given domain and performs a series of tests to check TLS configuration and supporting protocols such as HTTP2 and DNS.
https://www.f5.com/labs/cryptonice
GNU General Public License v3.0
101 stars 25 forks source link

Update help to include volume/mount instructions #38

Closed coobr01 closed 3 years ago

coobr01 commented 3 years ago

Can someone please update the docker related help to include instructions for how to mount or use volumes to get to the json output?

warburtr0n commented 3 years ago

Hi @coobr01

Thankfully I'd implemented some updates last week to allow Cryptonice to write JSON outputs to any folder. This is done using the --json_path parameter.

So, in order for Docker to output to a folder, use the following syntax:

docker run --rm -it --volume //c/scratch:/results f5labs/cryptonice www.f5.com --json_out --json_path /results

This maps my local C:\Scratch folder to a directory called /results within the container.

I've added brief instructions on the Cryptonice homepage and also on the ReadTheDocs pages but let me know if more examples would be useful.

coobr01 commented 3 years ago

@warburtr0n thanks, worked perfectly!