wget https://raw.githubusercontent.com/xdtianyu/scripts/master/lets-encrypt/letsencrypt.conf
wget https://raw.githubusercontent.com/xdtianyu/scripts/master/lets-encrypt/letsencrypt.sh
chmod +x letsencrypt.sh



执行命令
然后 修改  letsencrypt.conf 中的配置项目
调整 jexus中对应站点指向的目录 修改为您配置项目中的验证地址
再重启jexus

最后执行

    ./letsencrypt.sh letsencrypt.conf



配置下jexus下 域名

UseHttps=true
ssl.certificate=/usr/jexus/ssl/certificate.crt
ssl.certificatekey=/usr/jexus/ssl/private.key

端口修改为443