Skip to content

Make self-signed openssl certificates with ease!

Notifications You must be signed in to change notification settings

bantya/MakeCert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

MakeCert

💻 Make self-signed openssl certificates with ease on Windows OS!

This project is based on a gist by Vikas Kapadiya @vikas5914

Using this file (makecert.bat) you can create a custom self-signed ssl certificates with ease.

⚡ Features:

  1. Provide your own meta-data fields.
  2. If you dont want to provide your own info, you can use the default values just by pressing enter.
  3. Info preview before actual ssl certs generation.
  4. If you dont approve the previewed info to be used, you can enter new info again.
  5. Confirmation to generate your ssl certs.
  6. Provide secondary fields (Country, State, Email etc.) in a single config file. (v2.0.0)

📃 Changelog:

v2.0.0:

  1. Added support to set the Country, State, City, Organization, Organization Unit, Email in a config file.
  2. Added support to use the config file for providing the above mentioned fields.
  3. Command help added.
  4. Functionality for generating .key and .crt files without .cnf file added.

🤔 How to use:

Download the makecert.bat file to your desired folder and add it to the system path.

Sign out if required.

Use it from anywhere!

⚙ Options:

--no-cfg or -n: Use this option if you dont want .cnf file to be outputted.

--set-config or -s: Use this option to populate the config fields interactively. The config file is stored at %USERPROFILE%\makecert-config.ini

The makecert-config.ini example:

COUNTRY=IN
STATE=MH
CITY=Mumbai
ORGANIZATION=example.com
ORGANIZATION_UNIT=Backend
EMAIL=administrator@example.com

The given config file does not exist out of the box. You have to generate it using this option.

--use-config or -c: Using this option you will have to provide the hostname and domain extension only. All the other data is grabbed from the config file.

--open-repo or -o: Open the project github repository in your browser.

--help or -h: Display the help regarding the options used.

📷 Screenshots:

image

image

image

NOTE: The info to be provided must not contain any blank-space ( ), use hyphen (-) or underscore (_) instead!

NOTE: This project assumes that the openssl is available on your system.

👍

About

Make self-signed openssl certificates with ease!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published