restore

master
neil 2022-08-30 15:04:30 +08:00
parent 818e11601c
commit 373636eb4f
5 changed files with 85 additions and 11 deletions

@ -1,10 +0,0 @@
First, you have determine what the "webhook" URL is for the channel or contact you'd like to notify.
In the desktop app, the "manage webhooks" option in somewhat hidden under the "heading" for the channel or contact.
Select the channel/contact and look in the middle of the page for a left arrow, the name, and a down arrow.
Click on the down arrow, select "manage webhooks" and copy the URL to the clipboard.
Here are the step to configure Gchat notify:
`export SAVED_GCHAT_WEBHOOK_URL='paste your webbook url here'`
`acme.sh --set-notify --notify-hook gchat`

@ -0,0 +1,61 @@
As for now, if no `server` is provided, or you have not `--set-default-ca` yet, acme.sh uses letsencrypt as the default CA.
https://github.com/acmesh-official/acme.sh/wiki/Server
Starting from `August-1st 2021`, acme.sh will release v3.0, in which the default CA will use [ZeroSSL](https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA) instead.
This change will only affect the newly created(issued) certs after `August-1st` (with v3.0), any pre-existing certs will still be renewed automatically against the current CA.
Q&A:
1. As an existing user, what do I need to do?
Generally, nothing needs to do. (If auto-upgrade is enabled, acme.sh can upgrade itself).
No matter acme.sh is upgraded to v3.0 or not, your existing certs will be renewed as before, against the same CA it's currently using.
2. Will I still be able to use letsencrypt then?
Yes, of course. You are still free to use any supported CA with providing `--server` parameter.
```
acme.sh --issue -d example.com --dns dns_cf --server letsencrypt
```
3. What if I don't like this change? I want to stick to letsencrypt?
Yes, sure. You can `--set-default-ca` now or any time you like. Then acme.sh will always use the default ca you set:
```
acme.sh --set-default-ca --server letsencrypt
```
If you set the default CA, acme.sh will respect your choice first. It will always use this default ca in the future, no matter in `v2.*`, `v3.*` or any future `v4.*`.
**acme.sh always respects your choice first, and will never make any changes to your files without your permissions.**
4. My current cert is using letsencrypt, Will it be changed when renewed then?
No, and never. Don't worry. when your cert is renewed, it will use the current CA, not the default CA.
5. As a new user after `August-1st 2021`(v3.0), what will it look like to me?
You can install acme.sh as normal, nothing is changed.
You can also issue certs as normal [See how to issue a cert](https://github.com/acmesh-official/acme.sh/wiki/How-to-issue-a-cert):
```
acme.sh --issue -d example.com --dns dns_cf
```
The cert will be issued with the default CA [ZeroSSL](https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA)
You can also try with letsencrypt:
```
acme.sh --issue -d example.com --dns dns_cf --server letsencrypt
```
There is a comparison: ZeroSSL vs Let's Encrypt:
https://zerossl.com/letsencrypt-alternative/

@ -1 +0,0 @@
acme.sh --issue -d saverip.cf -k ec-256 --webroot /var/www/html

5
_Footer.md Normal file

@ -0,0 +1,5 @@
__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** 越来越好.
感谢

@ -616,3 +616,22 @@ status="$3"
do-something "$subject ($status): $message" do-something "$subject ($status): $message"
``` ```
## 22. Set-notification-for-Gchat-channel-or-contact
First, you have determine what the "webhook" URL is for the channel or contact you'd like to notify.
In the desktop app, the "manage webhooks" option in somewhat hidden under the "heading" for the channel or contact.
Select the channel/contact and look in the middle of the page for a left arrow, the name, and a down arrow.
Click on the down arrow, select "manage webhooks" and copy the URL to the clipboard.
Here are the step to configure Gchat notify:
`export SAVED_GCHAT_WEBHOOK_URL='paste your webbook url here'`
`acme.sh --set-notify --notify-hook gchat`