code: def savePkeyPem(self, pkey, path):
          '''
          Save a private key in PEM format to a file outside the certdir.
          '''
          with s_common.genfile(path) as fd:
              fd.write(crypto.dump_privatekey(crypto.FILETYPE_PEM, pkey)f savePkeyPem(self, pkey, path):
          '''
          Save a private key in PEM format to a file outside the certdir.
          '''
          with s_common.genfile(path) as fd:
              fd.write(crypto.dump_privatekey(crypto.FILETYPE_PEM, pkey))
docs: Save a private key in PEM format to a file outside the certdir.