cert.sh 401 B

12345678910111213141516
  1. #!/bin/bash
  2. echo start
  3. sleep 0.5
  4. source /var/lib/premium-script/ipvps.conf
  5. domain=$IP
  6. systemctl stop v2ray
  7. systemctl stop v2ray@none
  8. /root/.acme.sh/acme.sh --issue -d $domain --standalone -k ec-256
  9. ~/.acme.sh/acme.sh --installcert -d $domain --fullchainpath /etc/v2ray/v2ray.crt --keypath /etc/v2ray/v2ray.key --ecc
  10. systemctl start v2ray
  11. systemctl start v2ray@none
  12. echo Done
  13. sleep 0.5
  14. clear
  15. neofetch