Revision 22114677 lib/backend.py

b/lib/backend.py
1192 1192
  @return: list of tuples of the token type and the public crypto token
1193 1193

  
1194 1194
  """
1195
  getents = runtime.GetEnts()
1195 1196
  _VALID_CERT_FILES = [pathutils.NODED_CERT_FILE,
1196 1197
                       pathutils.NODED_CLIENT_CERT_FILE,
1197 1198
                       pathutils.NODED_CLIENT_CERT_FILE_TMP]
......
1237 1238

  
1238 1239
        utils.GenerateNewSslCert(
1239 1240
          True, cert_filename, serial_no,
1240
          "Create new client SSL certificate in %s." % cert_filename)
1241
          "Create new client SSL certificate in %s." % cert_filename,
1242
          uid=getents.masterd_uid, gid=getents.masterd_gid)
1241 1243
        tokens.append((token_type,
1242 1244
                       utils.GetCertificateDigest(
1243 1245
                         cert_filename=cert_filename)))

Also available in: Unified diff