-
-
Notifications
You must be signed in to change notification settings - Fork 5k
How to install
y377 edited this page Jan 25, 2022
·
37 revisions
Update your Linux repo with latest CA bundle and patches from System Update else some issues will occur when generating your free SSL. Once Completed then begin the below procedure
-
you can run if centos:
yum update ca-certificates
1. Install from web: https://get.acme.sh
Install https://github.com/acmesh-official/acme.sh
curl https://get.acme.sh | sh -s email=my@example.com
or
wget -O - https://get.acme.sh | sh -s email=my@example.com
curl https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | sh -s -- --install-online -m my@example.com
or:
wget -O - https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh | sh -s -- --install-online -m my@example.com
git clone https://github.com/acmesh-official/acme.sh.git
cd acme.sh
./acme.sh --install -m my@example.com
git clone https://github.com/acmesh-official/acme.sh.git
cd acme.sh
./acme.sh --install \
--home ~/myacme \
--config-home ~/myacme/data \
--cert-home ~/mycerts \
--accountemail "my@example.com" \
--accountkey ~/myaccount.key \
--accountconf ~/myaccount.conf \
--useragent "this is my client."
You don't need to set them all, just set those ones you care about.
Explanations :
-
--home
is a customized dir to installacme.sh
in. By default, it installs into~/.acme.sh
-
--config-home
is a writable folder, acme.sh will write all the files(including cert/keys, configs) there. By default, it's in--home
-
--cert-home
is a customized dir to save the certs you issue. By default, it's saved in--config-home
. -
--accountemail
is the email used to register an account to Let's Encrypt, you will receive a renewal notice email here. -
--accountkey
is the file saving your account private key. By default, it's saved in--config-home
. -
--user-agent
is the user-agent header value used to send to Let's Encrypt.
Buy me a beer, Donate to acme.sh if it saves your time. Your donation makes acme.sh better: https://donate.acme.sh/
如果 acme.sh 帮你节省了时间,请考虑赏我一杯啤酒🍺, 捐助: https://donate.acme.sh/ 你的支持将会使得 acme.sh 越来越好. 感谢