go fmt
typo
only write tag if certificates could be written correctly...