Adding Self-Signed PKI to Windows Trusted Certificate Store via Group Policy
#PublicKeyInfrastructure #Certificates #Windows #GroupPolicy
Full steps can be found at https://i12bretro.github.io/tutorials/0010.html
This is part three 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.
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.
--------------------------------------------------------------------
Prerequisites
--------------------------------------------------------------------
- A XCA PKI database https://youtu.be/ezzj3x207lQ
--------------------------------------------------------------------
Exporting Certificates from XCA
--------------------------------------------------------------------
01. Launch XCA
02. Open the PKI database if it is not already (File ≫ Open DataBase), enter password
03. Click on the Certificates tab
04. Right click the Intermediate CA certificate ≫ Export ≫ File
05. Set the file name with a .crt extension and verify the export format is PEM (*.crt)
06. Click OK
07. Right click the Root CA certificate ≫ Export ≫ File
08. Set the file name with a .crt extension and verify the export format is PEM (*.crt)
09. Click OK
--------------------------------------------------------------------
Push Certificates Into Windows Certificate Store Via GPO
--------------------------------------------------------------------
01. Launch Group Policy Management (Control Panel ≫ Administrative Tools ≫ Group Policy Management)
02. Right click Default Domain Policy ≫ Edit...
03. Expand Computer Configuration ≫ Policies ≫ Windows Settings ≫ Security Settings ≫ Public Key Policies
04. Right click Trusted Root Certification Authorities ≫ Import..
05. Click Next
06. Click Browse ≫ Select the exported Root CA .crt file ≫ Click Next
07. Verify Include all extended properties is checked
08. Click Next
09. Click Next
10. Click Finish
11. Right click Intermediate Certification Authorities ≫ Import..
12. Click Next
13. Click Browse ≫ Select the exported Intermediate CA .crt file ≫ Click Next
14. Verify Include all extended properties is checked
15. Click Next
16. Click Next
17. Click Finish
18. Close the Group Policy Management Editor window
19. Force Group Policy update by Right clicking the start button ≫ Run ≫ cmd
20. Type gpupdate /force
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro