The following 4 files will be generated in the archive folder: /etc/letsencrypt/archive/YOURDOMAIN.COM(Note the ones in /etc/letsencrypt/live/YOURDOMAIN.COM is symlinked to archive folder)

cert1.pem

chain1.pem

fullchain1.pem

privkey1.pem

Now we want to copy those files to your local machine:

# compress them on server first
sudo tar -cvvf letsencrypt_YYYY_MM_DD.tar /etc/letsencrypt/archive/YOURDOMAIN.COM
# then on your local terminal, use scp to get the above file, copy to home folder
scp -P 22 USER@IP:/home/USER/letsencrypt_YYYY_MM_DD.tar ~
# or

Put the downloaded two files (fullchain.pem and privkey.pem) in your local folder where mup can access (see mup.json)

Update mup.json

“ROOT_URL”: “https://yourdomain.com",
...
"ssl": {
"certificate": "PATH_TO/fullchain.pem", // this is a bundle of certificates
"key": "PATH_TO/privkey.pem", // this is the private key of the certificate
"port": 443 // 443 is the default value and it's the standard HTTPS port
},