Xml sitmap not using https

Hi
I have an issue where the generated urls in the sitemap xml file are http and not https. How do i fix this?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114538-xml-sitmap-not-using-https