SSL Setup.txt 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Steps to Successfully install and run an SSL Server in Indy 10.1.3
  2. First open a browser and navigate to: http://www.intelicom.si/
  3. Select your language at the top of the page (EN for english)
  4. Select downloads
  5. Select "Indy OpenSSL"
  6. Extract the Zip file that you just downloaded to your project
  7. folder (in the case of the demos this is the Bin folder)
  8. Navigate to http://www.arcanatech.com/
  9. Find the products page
  10. Their should be a listing either SSL Tools or SSL Buddy
  11. Download SSL Buddy and install it
  12. Start SSL Buddy
  13. Click Start SSL Buddy
  14. Select "Generate and Self-Sign a certificate"
  15. Click Start
  16. Follow the On Screen Directions VERY CLOSLY
  17. If you are going to use this for localhost then make sure that you
  18. use localhost, if its for a website make sure you use the
  19. website URL (EX: eonclash.com) failure to do so will result in
  20. an invalid certificate.
  21. Set the export key file location to your application folder
  22. This will generate the certificate and bring you back to the main
  23. screen where you started out.
  24. Now select "Prepare an SSL certificate for installation in an
  25. Indy/IntraWeb Server."
  26. Click start, then next
  27. Select that you created it with SSL Buddy then Next
  28. Select the key file (<URL>.reg file) in your application root
  29. folder that you generated above. In the case of using
  30. localhost the file is named: localhost.key
  31. The export path should fill in automatically for you, if not
  32. then fill it in as your default application folder
  33. The last line enter the common name, IE: Localhost, eonclash.com
  34. ect...
  35. You will get a window asking you to paste your certificate file
  36. below, it should already be filled in for you, simply click
  37. next
  38. For the existing password use the e-mail address you entered
  39. as the administrative e-mail.
  40. Follow the directions on the SSL Buddy screen. Your certificate
  41. won't appear, simply click import, locate the certificate file
  42. and import it into the trusted. Then move down the list given
  43. on the screen. Its imparative that you follow the directions
  44. too the letter.
  45. Place the exported root.pem key file into your application folder
  46. Close SSL Buddy
  47. Open and compile the SSL HTTP Server Demo application located
  48. in the folder with this file.
  49. Set the following paramaters up on the SSL Setup Page:
  50. Certificate File: <URL>.cer (or <URL>.crt)
  51. Key File: key.pem
  52. Password: <The new password used from above>
  53. Unfortunately I have no idea what Root Certificate File or
  54. Cipher List are used for. Nothing in the help files, so
  55. just to get this far was a set of educated guesses.
  56. Of special NOTE:
  57. For some reason when I use this method everything works fine,
  58. but I do get an error while running in the debugger I do get
  59. an assertion failure on line 703:(IdCustomHTTPServer.pas)
  60. Source:
  61. Assert(not IOHandler.ReadLnTimedOut);
  62. But everything runs fine. Connecting to my new SSL Server
  63. at http://localhost/ results in me being asked to verify that
  64. I want to use "Their/My" certificate and once accepted I can
  65. browse w/o any problems.
  66. Anyways, thats the documentation to go with this demo. I know
  67. its not much, but hopefully its enough to get you up and running.