Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
3.1 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #define VER_FILETYPE VFT_DLL
  4. #define VER_FILESUBTYPE VFT2_UNKNOWN
  5. #define VER_FILEDESCRIPTION_STR "SSL Setkey utility"
  6. #define VER_INTERNALNAME_STR "setkey.exe"
  7. #define VER_ORIGINALFILENAME_STR "setkey.exe"
  8. #include "iisver.h"
  9. #include "common.ver"
  10. #include "strings.h"
  11. STRINGTABLE
  12. BEGIN
  13. IDS_BANNER1 "\nSSL Key set utility, Version 1.0\n"
  14. IDS_BANNER2 "Copyright (c) 1995 Microsoft Corporation\n\n"
  15. IDS_BAD_FLAG "error: unrecognized command line flag: '%c'\n"
  16. IDS_BAD_ARG "error: unrecognized command line argument: ""%s""\n"
  17. IDS_MISSING_ARG "error: missing command-line argument\n"
  18. IDS_FAILED_TO_SET "Failed to set the keys in the registry\n"
  19. IDS_SUCCESSFUL_SET "Successfully set the SSL keys for %s in the registry!\n"
  20. IDS_SUCCESSFUL_SET_DEF "Successfully set the SSL keys for <Default> in the registry!\n"
  21. IDS_USAGE1 "\nusage:\n"
  22. IDS_USAGE2 "setkey [\\\\server] password private_key certificate [IP_Address]\n"
  23. /*IDS_USAGE3 "setkey -p [\\\\server]\n"*/
  24. IDS_USAGE4 "setkey -d [\\\\server]\n\n"
  25. IDS_USAGE5 "where: [\\\\server] The Windows 2000 server the Information Servers runs on\n"
  26. IDS_USAGE6 " Server must not be specified for the local machine.\n"
  27. IDS_USAGE7 " password Password used to create keys\n"
  28. IDS_USAGE8 " private_key Path containing the private key from keygen utility\n"
  29. IDS_USAGE9 " certificate Path containing the certificate obtained from the\n"
  30. IDS_USAGE10 " certification authority\n"
  31. IDS_USAGE11 " [IP_Address] The Virtual Server to use this key information on.\n"
  32. IDS_USAGE12 " Do not specify for this key to apply to all Virtual Servers\n"
  33. IDS_USAGE13 "\n"
  34. /*IDS_USAGE14 " -p Prints all installed keys\n"*/
  35. IDS_USAGE15 " -d Deletes all installed keys\n"
  36. IDS_USAGE16 "Examples:\n"
  37. IDS_USAGE17 "\n"
  38. IDS_USAGE18 "setkey KeyPass c:\\keys\\serverkey c:\\keys\\servercert\n"
  39. IDS_USAGE19 "\n"
  40. IDS_USAGE20 "setkey \\\\SecureWeb KeyPass serverkey servercert 157.55.82.213\n"
  41. IDS_FILE_NOT_FOUND "Error %d openning %s\n"
  42. IDS_KEYCHECK_FAILED "Key check failed with error 0x%lx\n"
  43. IDS_SETSECRET_FAILED "Failed to set key information, error %d\n"
  44. IDS_FAILED_OPENING_SERVER "Error openning server %s, error %d\n"
  45. IDS_BAD_PASSWORD "error: The specified password does not match the password used when\ngenerating the key information.\n"
  46. IDS_SECPKG_NOT_FOUND "error: The necessary security provider is not installed on this machine. \nRun this again on the computer the HTTP Information Server is installed on.\n"
  47. IDS_NO_KEYS_INSTALLED "There are no keys installed on this machine\n"
  48. IDS_DELETE_SUCCESSFUL "All keys were successfully delete.\n"
  49. END
  50.