Problem with Certbot standalone plugin

I tried: certbot-auto --expand --authenticator standalone --installer nginx -d -d --pre-hook “service nginx stop” --post-hook “service nginx start”
I got an error message: certbot: error: unrecognized arguments: nginx stop” nginx start”
I replaced " by ' and got good result.

You have smartquotes in your command ( and ) instead of an actual double-quote: "


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.