传统运维 - acme.sh
2023-05-08
cd /opt
git clone https://github.com/acmesh-official/acme.sh.git
vim /opt/acme.sh
export AWS_ACCESS_KEY_ID=AKIASVPYaaaaaaaa
export AWS_SECRET_ACCESS_KEY=KdLtaaaaaaaaaaa
#!/bin/bash
cd /opt/acme.sh
./acme.sh --issue --force --dns dns_aws -d *.xx.online
--cert-file /var/lib/teleport/teleport.cert
--key-file /var/lib/teleport/teleport.key
--fullchain-file /var/lib/teleport/teleport.crt
--reloadcmd "systemctl restart teleport"