Server

Install

sudo sh -c "$(curl -sL https://github.com/juicity/juicity-installer/raw/master/installer.sh)"
 
ln -s /usr/local/etc/juicity /etc/juicity

Acme.sh

curl  https://get.acme.sh | sh -s email=<your@email.com>
 
# Ctrl+D & Relogin
 
export CF_Key="<your-CF_Key>"
export CF_Email="<your-CF_Email>"
 
acme.sh --register-account -m <your-email>
 
mkdir /usr/local/etc/juicity/ssl
 
acme.sh --set-default-ca --server letsencrypt
 
acme.sh --issue -d "<your-domain>" --dns dns_cf \
  --key-file /usr/local/etc/juicity/ssl/<your-domain>.key \
  --fullchain-file /usr/local/etc/juicity/ssl/<your-domain>.pem \
  --reloadcmd "systemctl restart juicity-server.service"
 
acme.sh --upgrade --auto-upgrade

Configure

vim /usr/local/etc/juicity/server.json
-----
{
    "listen": ":17500",
    "users": {
        "b75e96d8-5c2e-44ae-a5d8-c7f1e4278a69": "<your-password>"
    },
    "certificate": "/usr/local/etc/juicity/ssl/<your-domain>.pem",
    "private_key": "/usr/local/etc/juicity/ssl/<your-domain>.key",
    "congestion_control": "bbr",
    "log_level": "info"
}
-----

Systemd

systemctl enable --now juicity-server.service
systemctl status juicity-server.service

Client

juicity://b75e96d8-5c2e-44ae-a5d8-c7f1e4278a69:<your-password>@<your-domain>:17500?congestion_control=bbr