Matty9191 / ssl-cert-check

Send notifications when SSL certificates are about to expire.
GNU General Public License v2.0
735 stars 288 forks source link

Support custom options for s_client #44

Open Glandos opened 5 years ago

Glandos commented 5 years ago

The goal was to support the -bind option, but it seems overkill to support any options from s_client, so let the user chose whatever fits its needs.

Glandos commented 5 years ago

For the record: I have now a dual connection, one is fast but not allowing connection to port 25, and the other one is slow, but allowing connection to port 25. So depending on the check, I have to select the source address. It's doable with iptables but really cumbersome.

Note that I my choice for -S is random (weak mnemonic for s_client). Feel free to discuss this.