Fill in certificate in different file formats