Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update docs more clear #64

Open
razor9999 opened this issue Dec 12, 2017 · 3 comments
Open

Please update docs more clear #64

razor9999 opened this issue Dec 12, 2017 · 3 comments

Comments

@razor9999
Copy link

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?

@cldershem
Copy link

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.

@razor9999
Copy link
Author

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

@cldershem
Copy link

The key problem appears to be certbot: command not found. It's either not installed or not in you PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants