
Dell ThinOS 10.x App Builder User Guide
Generating Certificates on Windows Using IIS
This topic outlines the steps to generate a Certificate Signing Request (CSR) and private key using Internet Information Services (IIS) on Windows.
Steps
- Generate a CSR and Private key using IIS on Windows.
-
Extract Certificate and Private key from a .pfx file using
OpenSSL.
NOTE:A .pfx (PKCS#12) file contains both a private key and public key.
-
Extract the Public Certificate:
openssl pkcs12 -in <filename.pfx> -clcerts -nokeys -out public_key.crt
- -in <filename.pfx>: Specifies the input PFX file.
- -clcerts: Extracts only the client certificate (excludes CA certificates).
- -nokeys: Excludes the private key.
- -out public_key.crt: Output file for the public key.
-
Extract the Private Key:
openssl pkcs12 -in <filename.pfx> -nocerts -nodes -out private_key.pem
- -nocerts: Excludes all certificates, extracts only the private key.
- -nodes: Outputs the private key-in plain text (not encrypted).
- -out private_key.pem: Output the file for the private key.
-
After running the commands, you obtain:
- public_cert.crt–the public key certificate.
- private_key.pem–the private key in PEM format.
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\