If I get Order using GetOrderAsync property Location is not loaded -> remains null.
Then if you want to GenerateCertificateAsync you will get Http exception. Request URI is invalid.
GetOrderAsync should map input parameter location to property Location.
EDIT: Or edit GenerateCertificateAsync input parameter instead Order to Uri order location