srvrco / checkssl

checks ssl certs for a set of domains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom ports?

killerbees19 opened this issue · comments

Based on my last feature request for getssl: I'd really appreciate that! :-)

# Syntax example…
hostname:https:5001

It's supported now ;) ( or should be - let me know if it's not working )

If you have the list in a file just put
hostname:5001

if on the command line then

checkssl hostname:5001

Oh dear, It's just not my day. I should open my eyes…

Untested, but it looks like REMOTE_EXTRA is unset in this case.

Yes, "REMOTE_EXTRA" is unset - but it should be for standard https

You should set it here:

PS=443
PORT=443
REMOTE_EXTRA=""

Reference: #8 (comment)

or should be - let me know if it's not working

And indeed, it's not working. ;-)

Because you're checking PS and PORT is still 443. There is not default case implemented.

Interesting, as it worked for me in my tests. I've added a line of code that should clarify it though.

Looks good! :-)

Just a small hint: REMOTE_EXTRA="" in line 50 is an unnecessary duplicate now.

Good point. I've removed that line, and also modified it to allow you to specify REMOTE_EXTRA in file list