Open razor9999 opened 6 years ago
That's a command that you would run in a command line or a terminal. The first two lines are setting environment variables, the reset of that is the certbot
command with a bunch of arguments that you will need to customize.
I copy and change follow guide but it does not work
root@ip-172-31-71-224:~# AWS_ACCESS_KEY_ID="AKIAJUxxxx" \
AWS_SECRET_ACCESS_KEY="Rhhw+Fbj25/Ixxxxxxxxxx" \ certbot --agree-tos -a certbot-s3front:auth \ --certbot-s3front:auth-s3-bucket admin.xxxxxx.cloud \ --certbot-s3front:auth-s3-region ap-southeast-1 #(the default is us-east-1, unless you want to set it to something else, you can delete this line) \ certbot: command not found root@ip-172-31-71-224:~# --certbot-s3front:auth-s3-directory admin # (default is "") \ --certbot-s3front:auth-s3-directory: command not found root@ip-172-31-71-224:~# -i certbot-s3front:installer \ --certbot-s3front:installer-cf-distribution-id ETCCYNxxx \ -d admin.smart-hub.cloud -i: command not found
The key problem appears to be certbot: command not found
. It's either not installed or not in you PATH.
where can i run below command?
AWS_ACCESS_KEY_ID="REPLACE_WITH_YOUR_KEY" \ AWS_SECRET_ACCESS_KEY="REPLACE_WITH_YOUR_SECRET" \ certbot --agree-tos -a certbot-s3front:auth \ --certbot-s3front:auth-s3-bucket REPLACE_WITH_YOUR_BUCKET_NAME \ [ --certbot-s3front:auth-s3-region your-bucket-region-name ] #(the default is us-east-1, unless you want to set it to something else, you can delete this line) \ [ --certbot-s3front:auth-s3-directory your-bucket-directory ] # (default is "") \ -i certbot-s3front:installer \ --certbot-s3front:installer-cf-distribution-id REPLACE_WITH_YOUR_CF_DISTRIBUTION_ID \ -d REPLACE_WITH_YOUR_DOMAIN
terminal or which file?