I’m sorry David, I was struggling to understand the question/problem. Are you using WIX to manage your DNS? I didn’t know they supported that and I thought your original question was how to update the ssl certificate for a wix site.
If so, no I don’t have any scripts for that and we don’t have support for WIX as a DNS provider however if you have access to an API that can be used with curl etc you can write a custom DNS script for the create and delete batch files and point to those.