Languages
[Edit]
EN

OpenSSL - generate localhost *.pem certificate under Windows

5 points
Created by:
Tomeriko
413

In this short article, we want to show how to generate localhost *.pem certificate (+ private key) using openssl command under Windows.

Quick solution (run in cmd.exe):

Note: be sure that openssl.exe is added to system paths.

 

Practical example

Edit

Simple steps:

  1. find openssl location path (or install openssl that is available in Git for Windows),
  2. open Command Prompt (cmd.exe),
    Hint: motivation to use cmd.exe are freezes that may occur with external terminals.
  3. run the following command:

Screenshots:

localhost *.pem certificate creation under Windows
localhost *.pem certificate creation under Windows
localhost *.pem certificate created under Windows
localhost *.pem certificate creation under Windows

Alternative titles

  1. OpenSSL - create localhost *.pem certificate under Windows
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join