Creating and Applying SSL Certificate to Windows Admin Center
i12bretro
#WindowsAdminCenter #Windows #SSL #XCA
Full steps can be found at https://i12bretro.github.io/tutorials/0612.html
Prerequisites
- A XCA PKI database https://youtu.be/ezzj3x207lQ
Create Your SSL Certificate
01. Launch XCA 02. Open the PKI database if it is not already (File ≫ Open DataBase), enter password 03. Click on the Certificates tab, right click on your Intermediate CA certificate 04. Select New 05. On the Source tab, make sure Use this Certificate for signing is selected 06. Verify your Intermediate CA certificate is selected from the drop down 07. Click the Subject tab 08. Complete the Distinguished Name section internalName: i12bretrodc.i12bretro.local countryName: US stateOrProvinceName: Virginia localityName: Northern organizationName: i12bretro organizationUnitName: i12bretro Certificate Authority commonName: i12bretrodc.i12bretro.local 09. Click the Generate a New Key button 10. Enter a name and set the key size to at least 2048 11. Click Create 12. Click on the Extensions tab 13. Select End Entity from the type list 14. Click Edit next to Subject Alternative Name 15. Add any DNS or IP addresses that the certificate will identify 16. Update the validity dates to fit your needs 17. Click the Key Usage tab 18. Under Key Usage select Digital Signature, Key Encipherment 19. Under Extended Key Usage select Web Server and Web Client Authentication 20. Click the Netscape tab 21. Select SSL Server 22. Click OK to create the certificate
Exporting the Certificate
01. In XCA, click on the Certificates tab 02. Right click the SSL certificate ≫ Export ≫ File 03. Set the file name with a .p12 extension and verify the export format is PKCS #12 (*.p12) 04. Enter a password to protect the .p12 export
Importing Certificate Into Windows Certificate Store
01. Right click the Start Button ≫ Run 02. Type mmc.exe, press enter 03. Click File ≫ Add/Remove Snap-in... 04. Click Certificates 05. Click Add 06. Select Computer account 07. Click Next 08. Select Local computer 09. Click Finish 10. Click OK 11. Expand Certificates 12. Right click the Personal folder ≫ All Tasks ≫ Import.... 13. Click Next 14. Click Browse ≫ Select the exported SSL .p12 file ≫ Click Next 15. Enter the password created for the .p12 export 16. Verify Include all extended properties is checked 17. Click Next 18. Click Next 19. Click Finish 20. Double click the newly imported certificate 21. Select the Details tab ≫ Scrool to the bottom of the details pane 22. Click the thumbprint line item 23. Copy the thumbprint value in the lower pane to the clipboard
Applying the Certificate to Windows Admin Center
01. Download Windows Admin Center https://aka.ms/WACDownload 02. Run the downloaded .msi 03. If WAC is already installed, click the change button 04. Select the Use an SSL certificate installed on this computer option 05. Paste in the thumbprint copied from the imported certificate 06. Click Change to apply the changes
Connect with me and others
★ Discord: https://discord.com/invite/EzenvmSHW8 ★ Reddit: https://reddit.com/r/i12bretro ★ Twitter: https://twitter.com/i12bretro ... https://www.youtube.com/watch?v=HN46vQUKNkU
18883272 Bytes