srvrco / checkssl

checks ssl certs for a set of domains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Syntaxfehler beim unerwarteten Wort `newline'

cmonty14 opened this issue · comments

Hi,

when I run checkssl as root (with Debian 8) I get this error:
root@vm100-revproxy:/usr/local/bin# checkssl /usr/local/bin/checkssl: Zeile 5: Syntaxfehler beim unerwarteten Wort newline'
/usr/local/bin/checkssl: Zeile 5: <!DOCTYPE html>'

What's causing this issue?

It seems that your 'checkssl'-file is a web page. You probably got the download page instead of the script.

Try downloading the script again with following command:
curl --silent https://raw.githubusercontent.com/srvrco/checkssl/master/checkssl > checkssl ; chmod 700 checkssl