Skip to content

Generate self-signed certificates for client/server applications.

License

Notifications You must be signed in to change notification settings

haensl/openssl-certgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSSL Certificate Generator

Automated, self-signed certificate generation via openssl.

Prerequisites

Please make sure these are installed on your system.

Installation

Linux

  1. Clone this repository
  2. make install

OSX

  1. brew tap haensl/haensl
  2. brew install openssl-generate-certificates

Usage

For additional information please consider consulting the man page.

Synopsis

openssl-generate-certificates -h hostname [-i ip] [-j subject] [-p prefix] [-s password] [-v]

Generated certificate files and keys are written to the current working directory.

Options

-h hostname, --host hostname

Specify hostname or IP of server to generate certificates for.

-i ip, --ip ip

Specify additional ips to bind to hostname. Default: 127.0.0.1

-j subject, --subject subject

Specify the subject string to use when generating the CA certificate.

-p prefix, --prefix prefix

Specify a prefix for output filenames.

-s password, --secret password

Specify the password with which to encrypt the CA key-signing key.

-v, --verbose

Print verbose output.