Home Use OpenSSH in Windows
Post
Cancel

Use OpenSSH in Windows

Sometimes I manage some stuffs using OpenSSH such as convert certificate file from .key format to .pfx format. But it’s hard to find an official binary or installer (at least for me whenever I find it 😂).

There’s a simple way to use OpenSSH on Windows if (already?) having git installed on the machine.

Go to the C:\Program Files\Git\usr\bin\ folder and run cmd from there. You can also run from git bash as well.

There’re a lot of developer tools here including openssl.exe.

An example command to convert PEM certificate to PFX certificate.

1
openssl pkcs12 -export -out "C:\Users\nhvu1988\Desktop\cert.pfx" -inkey "C:\Users\nhvu1988\Desktop\cert.key" -in "C:\Users\nhvu1988\Desktop\cert.pem"

That’s easy right? 😎 Happy coding everyone!

This post is licensed under CC BY 4.0 by the author.

How to publish local web project to the internet

Azure DevOps - What I Have Done - Part 2