Write all certificates to file
Just pass path to certificates file