write workload cert status file (#184)
write workload cert status file (#184)

* write workload cert status file

* reorder endpoint checking

* PR feedback
GoogleCloudPlatform/guest-agent,GoogleCloudPlatform/guest-agent