As you've found out, the vesta restore script is broken when it comes to restoring ssl keys. The good news is that the vesta backup script isn't broken and does backup ssl keys. So the question that you'll be led to is, "How do I manually restore my ssl keys?"
Well, you can do it one of two ways.Method 1 (For Let's Encrypt Keys):
If you don't care about having the exact same ssl keys as you had before, you can just create new ones in the panel by doing the following:
1. Edit each domain that used to have an SSL key
2. Untick SSL Support
3. Click 'Save' down at the bottom
4. Tick SSL Support and Lets Encrypt Support
5. Click 'Save' again
6. Repeat all steps as necessary for each domainMethod 2 (If you have paid keys from Comodo or any other SSL source):
You have to restore your keys manually one at a time by doing the following:
1. Untar your backup file by issuing the following command
2. Your ssl keys will be found in the untarred folder inside
3. Run the following on each domain that you need to restore ssl keys for
Code: Select all
/usr/local/vesta/bin/v-add-web-domain-ssl username domain_name web/domain_name.com/conf/
That should get you your ssl keys back.