Unexpected error

in that init-letsencrypt.sh script there is a line: (line 12 in github version)

staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits

recover it back to 0 to get production certificate