Update Servers & Workflows/Windows Server/SSL Certificates/Convert SSL Certificates into PFX Files.md
This commit is contained in:
		| @@ -12,11 +12,11 @@ private.key | ||||
| # Convert using OpenSSL | ||||
| You will need a linux machine such as Ubuntu 22.04LTS, or to download the Windows equivelant of OpenSSL in order to run the necessary commands to convert and package the files into a `.pfx` file that IIS Server Manager can use. | ||||
| !!! note | ||||
| You need to make sure that all of the certificate files as well as private key are in the same folder (to keep things simple) during the conversion process.  **It will prompt you to enter a password for the PFX file, choose anything you want.** | ||||
|     You need to make sure that all of the certificate files as well as private key are in the same folder (to keep things simple) during the conversion process.  **It will prompt you to enter a password for the PFX file, choose anything you want.** | ||||
|  | ||||
| ```jsx title="OpenSSL Conversion Command" | ||||
| openssl pkcs12 -export -out IIS-Certificate.pfx -inkey private.key -in gd-g2_iis_intermediates.p7b -in certificate.crt | ||||
| ``` | ||||
|  | ||||
| !!! tip | ||||
| You can rename the files anything you want for organizational purposes.  Afterall, they are just plaintext files.  For example, you could rename `gd-g2_iis_intermediates.p7b` to `intermediate.bundle` and it would still work without issue in the command.  During the import phase in IIS Server Manager, you can check a box to enable Exporting the certificate, effectively reverse-engineering it back into a certificate and private key. | ||||
|     You can rename the files anything you want for organizational purposes.  Afterall, they are just plaintext files.  For example, you could rename `gd-g2_iis_intermediates.p7b` to `intermediate.bundle` and it would still work without issue in the command.  During the import phase in IIS Server Manager, you can check a box to enable Exporting the certificate, effectively reverse-engineering it back into a certificate and private key. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user