0006.html 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Adding Self-Signed PKI to Windows Trusted Certificate Store</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="How To Add Self-signed Certificates To Windows,Windows Trust Self-Signed Certificates,Windows Trusted Certificates,PKI,Public Key Infrastructure,XCA,SSL,Self-Signed Certificate,Self-Signed HTTPS,Self-Signed SSL,How To Create Self-Signed Certificates,Certificates,X Certificate And Key Management,HTTPS,X Certificate Key Manager,Self-Signed PKI,SSL Certificates,Certificate Authority,Self-Signed,Microsoft Windows,Windows,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Adding Self-Signed PKI to Windows Trusted Certificate Store">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="10/24/2022 08:43:38 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Adding Self-Signed PKI to Windows Trusted Certificate Store</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <p>This is part two of a series of creating your own self-signed PKI and some ways to utilize the PKI to setup SSL for your web server or create your own OpenVPN server.</p>
  26. <p>Disclaimer: I am not a security expert. This is just the easiest way I have found to create and utilize SSL for my homelab services.</p>
  27. <h2>Prerequisites</h2>
  28. <ul>
  29. <li class="noCheckbox">A XCA PKI database <a href="https://youtu.be/ezzj3x207lQ" target="_blank">https://youtu.be/ezzj3x207lQ</a></li>
  30. </ul>
  31. <h2>Exporting Certificates from XCA</h2>
  32. <ol>
  33. <li>Launch XCA</li>
  34. <li>Open the PKI database if it is not already (File &gt; Open DataBase), enter password</li>
  35. <li>Click on the Certificates tab</li>
  36. <li>Right click the Intermediate CA certificate &gt; Export &gt; File</li>
  37. <li>Set the file name with a .crt extension and verify the export format is PEM (*.crt)</li>
  38. <li>Click OK</li>
  39. <li>Right click the Root CA certificate &gt; Export &gt; File</li>
  40. <li>Set the file name with a .crt extension and verify the export format is PEM (*.crt)</li>
  41. <li>Click OK</li>
  42. </ol>
  43. <h2>Importing Certificates Into Windows Certificate Store</h2>
  44. <ol>
  45. <li>Right click the Start Button &gt; Run</li>
  46. <li>Type mmc.exe, press enter</li>
  47. <li>Click File &gt; Add/Remove Snap-in...</li>
  48. <li>Click Certificates</li>
  49. <li>Click Add</li>
  50. <li>Select Computer account</li>
  51. <li>Click Next</li>
  52. <li>Select Local computer</li>
  53. <li>Click Finish</li>
  54. <li>Click OK</li>
  55. <li>Expand Certificates &gt; Trusted Root Certification Authorities</li>
  56. <li>Right click the second level Certificates &gt; All Tasks &gt; Import....</li>
  57. <li>Click Next</li>
  58. <li>Click Browse &gt; Select the exported Root CA .crt file &gt; Click Next</li>
  59. <li>Verify Include all extended properties is checked</li>
  60. <li>Click Next</li>
  61. <li>Click Next</li>
  62. <li>Click Finish</li>
  63. <li>Expand Certificates &gt; Intermediate Certification Authorities</li>
  64. <li>Right click the second level Certificates &gt; All Tasks &gt; Import....</li>
  65. <li>Click Next</li>
  66. <li>Click Browse &gt; Select the exported Intermediate CA .crt file &gt; Click Next</li>
  67. <li>Verify Include all extended properties is checked</li>
  68. <li>Click Next</li>
  69. <li>Click Next</li>
  70. <li>Click Finish</li>
  71. </ol> </div>
  72. </div>
  73. </body>
  74. </html>