How to create sha256 csr on windows?

There is two ways to create sha256(SHA-2) csr in windows.

Install OpenSSL and read this article for more detail and follow instructions

I strongly advise to use OpenSSL. Because it’s easy and really good to manage this certificate life cycle. For example; If you need to create a SHA-2 CSR you just need to download OpenSSL binaries and then run these command sets.

#openssl req -out Casesup.csr -new -newkey rsa:2048 -nodes -keyout Casesup.key  -sha256

Use Microsoft management console (mmc)

I will briefly describe how to generate SHA-2 csr on the Windows server with MMC. It’s really hard to add a screenshot but let’s keep it clear.

Open Microsoft Management Console

Type MMC to the run and click OK.


Click Add/Remove Snap-in…


Add Certificate snap to the Control Panel






Create a Custom Request from Advanced Operations

Right-click on the blank page then All Tasks>Advanced Operations > Create Custom Request


Proceed Enrollment


Click detail box then properties


Define your CSR information like OU, Organization, DNS, Email, etc.


If you need to define certificate’s extensions then check these boxes

I’ll pass these steps because I don’t need to define any extensions.


Define key size and hash algorithm

The last and most important step will be defined as private key options on this page. You need to define key size 2048 and hash algorithm to SHA-2.


Save the CSR file and click Finish

Most Common OpenSSL Commands
Most Common OpenSSL

How to create certificate for client side ssl?
If you have designed a Web platform which uses client side SSL authentication you probably need to create client SSL…

How to create a certificate request with openssl and sign CA
At this knowledge base we'll create a Certificate Request (CSR) and we perform sign operation on our CA server. I 'll…


Tagged In:

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me

Related Post