0006.html 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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="03/24/2022 09:09:52 PM" />
  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>Exporting Certificates from XCA</h2>
  28. <ol>
  29. <li>Launch XCA</li>
  30. <li>Open the PKI database if it is not already (File &gt; Open DataBase), enter password</li>
  31. <li>Click on the Certificates tab</li>
  32. <li>Right click the Intermediate CA certificate &gt; Export &gt; File</li>
  33. <li>Set the file name with a .crt extension and verify the export format is PEM (*.crt)</li>
  34. <li>Click OK</li>
  35. <li>Right click the Root CA certificate &gt; Export &gt; File</li>
  36. <li>Set the file name with a .crt extension and verify the export format is PEM (*.crt)</li>
  37. <li>Click OK</li>
  38. </ol>
  39. <h2>Importing Certificates Into Windows Certificate Store</h2>
  40. <ol>
  41. <li>Right click the Start Button &gt; Run</li>
  42. <li>Type mmc.exe, press enter</li>
  43. <li>Click File &gt; Add/Remove Snap-in...</li>
  44. <li>Click Certificates</li>
  45. <li>Click Add</li>
  46. <li>Select Computer account</li>
  47. <li>Click Next</li>
  48. <li>Select Local computer</li>
  49. <li>Click Finish</li>
  50. <li>Click OK</li>
  51. <li>Expand Certificates &gt; Trusted Root Certification Authorities</li>
  52. <li>Right click the second level Certificates &gt; All Tasks &gt; Import....</li>
  53. <li>Click Next</li>
  54. <li>Click Browse &gt; Select the exported Root CA .crt file &gt; Click Next</li>
  55. <li>Verify Include all extended properties is checked</li>
  56. <li>Click Next</li>
  57. <li>Click Next</li>
  58. <li>Click Finish</li>
  59. <li>Expand Certificates &gt; Intermediate Certification Authorities</li>
  60. <li>Right click the second level Certificates &gt; All Tasks &gt; Import....</li>
  61. <li>Click Next</li>
  62. <li>Click Browse &gt; Select the exported Intermediate CA .crt file &gt; Click Next</li>
  63. <li>Verify Include all extended properties is checked</li>
  64. <li>Click Next</li>
  65. <li>Click Next</li>
  66. <li>Click Finish</li>
  67. </ol>
  68. </div>
  69. </div>
  70. </body>
  71. </html>