Creating a Self-Signed Public Key Infrastructure (PKI) for certificate creation [SSL, OpenVPN]
#PublicKeyInfrastructure #PKI #Certificates #SSL
Full steps can be found at https://i12bretro.github.io/tutorials/0004.html
This is part one 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.
--------------------------------------------------------------------
Getting Started
--------------------------------------------------------------------
01. Download X Certificate Key Manager https://hohnstaedt.de/xca/index.php/download
02. Extract X Certificate Key Manager
03. Launch xca.exe
04. Select File ≫ Create Database
05. Name your PKI database and click save
06. Enter a password for you database
07. Re-type to confirm and click OK
--------------------------------------------------------------------
Creating the Root Certificate Authority
--------------------------------------------------------------------
01. Navigate to the Certificates tab
02. Click the New Certificate button
03. Click the Subject tab
04. Complete the Distinguished Name section
internalName: i12bretro Root CA
countryName: US
stateOrProvinceName: Virginia
localityName: Northern
organizationName: i12bretro
organizationUnitName: i12bretro Certificate Authority
commonName: i12bretro Root CA
05. Click the Generate a New Key button
06. Enter a name and set the key size to at least 2048
07. Click Create
08. Click on the Extensions tab
09. Select Certificate Authority from the type list
10. Update the validity dates to fit your needs
11. Click the Key Usage tab
12. Under Key Usage select Digital Signature, Key Encipherment and Certificate Sign
13. Click OK to create the certificate
--------------------------------------------------------------------
Creating the Intermediate Certificate Authority
--------------------------------------------------------------------
01. From the Certificates tab, right click on your Root CA certificate
02. Select New
03. On the Source tab, make sure Use this Certificate for signing is selected
04. Verify your Root CA certificate is selected from the drop down
05. Click the Subject tab
06. Complete the Distinguished Name section
internalName: i12bretro Intermediate CA
countryName: US
stateOrProvinceName: Virginia
localityName: Northern
organizationName: i12bretro
organizationUnitName: i12bretro Certificate Authority
commonName: i12bretro Intermediate CA
07. Click the Generate a New Key button
08. Enter a name and set the key size to at least 2048
09. Click Create
10. Click on the Extensions tab
11. Select Certificate Authority from the type list
12. Update the validity dates to fit your needs
13. Click the Key Usage tab
14. Under Key Usage select Digital Signature, Key Encipherment and Certificate Sign
15. Click OK to create the certificate
16. From this point forward, use the intermediate certificate to create end entity certificates
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro
Other Videos By i12bretro
2020-04-09 | Sega CD Boot Animation |
2020-04-09 | Nintendo DS Boot Animation |
2020-04-09 | Nintendo Wii Boot Animation |
2020-04-08 | Nintendo Game Boy Advance Boot Animation |
2020-04-08 | Nintendo Game Boy Color Boot Animation |
2020-04-08 | Nintendo Game Boy Boot Animation |
2020-04-08 | Nintendo Gamecube Boot Animation |
2020-04-08 | Sega Master System Boot Animation |
2020-04-08 | Sega Saturn Boot Animation |
2020-04-08 | Sega Dreamcast Boot Animation |
2020-04-06 | Creating a Self-Signed Public Key Infrastructure (PKI) for certificate creation [SSL, OpenVPN] |
2020-03-30 | Customizing Apache HTTPD Error Pages |
2019-12-02 | Running a Raspberry Pi (Raspbian) VM in Virtualbox |
2019-11-19 | Backing Up DD-WRT Settings Using HTTrack |
2019-11-18 | Running a DD-WRT VM in Virtualbox |
2019-07-06 | OUYA Boot Animation |