nsnw / ca-mgmt Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool to manage CA certificates
License: BSD 2-Clause "Simplified" License
Command-line tool to manage CA certificates
License: BSD 2-Clause "Simplified" License
ca-mgmt A simple CA management tool (c) 2012 Andy Smith <[email protected]> / Northstar Networks https://github.com/m0vkg/ca-mgmt http://www.nsnw.co.uk/ INTRODUCTION ca-mgmt is a simple CA management tool, written in bash, and inspired by Kees Leune's "Setting up your own certificate authority" guide at http://www.leune.org/blog/kees/pages/ca.html. ca-mgmt will set up a root CA, then set up two further CAs for sites and users, and finally sign the latter two with the former. QUICK START $ ./ca-mgmt -i This will create the necessary directories and files needed for the CAs. An openssl.cnf config file will be created with some default values under the 'root-ca' directory. Follow the prompts, and the CA certificates and keys will be generated. COMMANDS -i Initialise the CAs. -x Destroy the CAs. -c <name> Create a certificate signing request and key for <name>. -s <name> Sign a certificate signing request for <name>. OPTIONS -t <type> Specify the CA type ('site' or 'user' by default). This option is required for -c and -s. -k <size> Specify the size of the key in bits. If given along with -i, this will be the size of the key generated for the CAs. Defaults to 4096. -l <days> Specify the validity (in days) of certificate signing requests and certificates. If given along with -i, this will be the length of the CA certificates. Defaults to 3650 (10 years). -d Turn on debugging. Initialisation-specific options -f Specify an existing openssl.cnf file to use. This will be copied in instead of generating a new one. -1 Specify the organisation name. -2 Specify the locality (towm/city). -3 Specify the county/state/province. -4 Specify the two-letter country code. -5 Specify the organisational unit. -6 Specify the e-mail address. (options -1 through -6 will be used to generate openssl.cnf) TODO * Certificate revocation. The directories exist for this, but hasn't been implemented fully yet. * Management of existing certificates. CONTACT Andy Smith <[email protected]> DEVELOPMENT The latest copy of ca-mgmt can always be downloaded from Github at:- https://github.com/m0vkg/ca-mgmt Any bug reports or feature requests can be made at:- https://github.com/m0vkg/ca-mgmt/issues LICENSE ca-mgmt is released under the terms of the BSD 2-Clause License. A copy of this license should be included in any distribution of ca-mgmt, within the file 'LICENSE'. In case it is not, you can find a copy of the license at:- http://www.opensource.org/licenses/bsd-license.php
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.