code: def saveCertPem(self, cert, path):
          '''
          Save a certificate in PEM format to a file outside the certdir.
          '''
          with s_common.genfile(path) as fd:
              fd.write(crypto.dump_certificate(crypto.FILETYPE_PEM, cert)f saveCertPem(self, cert, path):
          '''
          Save a certificate in PEM format to a file outside the certdir.
          '''
          with s_common.genfile(path) as fd:
              fd.write(crypto.dump_certificate(crypto.FILETYPE_PEM, cert))
docs: Save a certificate in PEM format to a file outside the certdir.