it would have been much easier simply migrating the working snap:
as for https:
good mileage, keep going and don’t give up