0

Is there any way on standard Windows Server (such as with certutil?) to decrypted a pkcs8 pem encrypted private key?

i.e. What is the equivalent on windows of:

openssl pkcs8 -in key.enc -out key.pem

I tried looking through certutil doc for ages and cannot figure out any way to do it.

RBT
  • 251
  • 1
  • 3
  • 12
Secto Kia
  • 101
  • 1

2 Answers2

0

Implentation of such tool is lacking inside Windows. I would suggest to just install the openssl library port for Windows inside your server. Your command would be the same after too.

Get it from there; Win32/Win64 OpenSSL, or more source listed here; Binaries.

yagmoth555
  • 16,758
  • 4
  • 29
  • 50
0

The 'official' Microsoft ecosystem way is to use a tool called PVK2PFX, which for some reason is only included in Microsoft SDK, and not in general windows releases.

Secto Kia
  • 101
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Apr 15 '22 at 07:13