Letsencrypt Install Not working

So I did the box install letsencrypt. Then I saw the issue and wiki, “Fix letsencrypt auto renew”. I typed in this command, line=“30 2 * * 1 “~/acme.sh-master”/acme.sh --cron --home “~/acme.sh” > /dev/null” (crontab -u root -l; echo “$line” ) | crontab -u root -

Then I get, bash: syntax error near unexpected token `(’

Am I doing something wrong? I am trying to connect to my server via my domain and it is failing. Also, connecting directly to my IP gives a “Not Secure” status which I was hoping this would solve. I’m fairly confused.

EDIT: Just wanted to say that I changed my CloudFlare SSH setting from “Flexible” to “Full”. Then I waited about 5 minutes, refreshed, and it works just fine!