Simple request certificate to CA using certreq

There are some ways to make a certificate, you can use web enrollment, command enrollment, GUI enrollment.

Below steps are using command

Open an elevated Powershell session
Launch Notepad

Add the following lines to the new file:

[NewRequest]
Subject="cn=yourServer.yourDomain.com"
Exportable=TRUE
[RequestAttributes]
CertificateTemplate="Web Server"

Save the file as something ending in .inf, for example iis.inf

Run: certreq -new d:\temp\iis.inf d:\temp\request.txt
Run: certreq -submit d:\temp\request.txt d:\temp\iiscert.cer
Run: certreq -accept d:\temp\iiscert.cer

Komentar

Postingan populer dari blog ini

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Cara restart / stop windows service (services.msc) dengan bat / cmd

How to convert VMDK to OVA