|
This is an old revision of the document! asyd-ca.plThis is a little perl script to manage a Certification Authority using the openssl command. Though, unlike CA.[sh|pl] (from OpenSSL) it is very simple to use, and it ask only few questions. It comes with few templates files. One of these can be use to create wildcard certificates. Features
DemoConfigure CA informations# ls -1 asyd-ca.pl changes.log templates # vi templates/ca-req.cnf [..] emailAddress = asyd@asyd.net countryName = FR organizationName = asyd.net commonName = "asyd dot net CA" localityName = Paris It's more or less the only file you need to edit. It's very easy, isn't it ? Initialize Certification Autority# ./asyd-ca.pl init [openssl's output remove] # ls -1 asyd-ca.pl CA certs changes.log keys misc pkcs12 reqs templates The content of each directory is explain below. Create a certificatNote: You can edit the file templates/simple.cnf, especially the field with _default suffix. These values are the default one (but can be override) used by openssl while prompting for the certificat request informations. # ./asyd-ca.pl req jboss [skip openssl useless output] Organization Name (required) [asyd.net]: Country Name (2 letter code, required) [FR]: Email Address (optional) [asyd@asyd.net]: Common Name (MUST match the DNS name) [www.asyd.net]:jboss.asyd.net Organizational Unit Name (optional) []: As you can see, I use default value set in templates/simple.cnf, except for the common name, where I override the value with jboss.asyd.net. As you probably know, the field CN (CommonName) of a service certificate (e.g. https) MUST match the DNS name used to reach the service. DocsDirectories
Subcommands
Download
Roadmap
|
Welcome to Bruno Bonfils's (aka asyd homepage).



Discussion