welcome: please sign in

Diff for "CertificateAuthority"

Differences between revisions 2 and 3
Revision 2 as of 2007-12-04 23:01:48
Size: 630
Editor: MichaelOlson
Comment:
Revision 3 as of 2007-12-06 16:29:09
Size: 1515
Editor: MichaelOlson
Comment: Document ca-sign script
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
== Introduction == = Introduction =
Line 14: Line 14:

= Scripts =

There are a couple of scripts in {{{/afs/hcoop.net/common/etc/scripts}}} that facilitate signing and installing of certificates.

== Signing ==

{{{ca-sign}}} is the script that given a certificate request, produces a signed certificate. It stores a copy of the certificate request in {{{/var/local/lib/ca/requests}}}, and stores a copy of the certificate in {{{/var/local/lib/ca/newcerts}}}. It also updates the certificate revocation list, which is a publicly-accessible list of certificates that have been revoked.

Here is an example of how to invoke it:

{{{
ca-sign days request.csr out-cert-file.pem
}}}

 * '''days''' is the number of days that the certificate should be valid. Users get to choose this value.
 * '''request.csr''' is the certificate request.
 * '''out-cert-file.pem''' is where you want the generated certificate to be placed.

This page explains how to sign user SSL certificates, among other things.

TableOfContents

Introduction

The page [http://www.rajeevnet.com/crypto/ca/ca-paper.html] was very helpful in figuring out which commands to run. I took the initial copy of the OpenSSL configuration file from [http://sial.org/howto/openssl/ca/openssl.cnf], and then added things to it from the first link.

All of our CA stuff is stored at /var/local/lib/ca on deleuze.

The public-accessible CA stuff is at /afs/hcoop.net/user/h/hc/hcoop/public_html/ca, or [http://deleuze.hcoop.net/ca].

Scripts

There are a couple of scripts in /afs/hcoop.net/common/etc/scripts that facilitate signing and installing of certificates.

Signing

ca-sign is the script that given a certificate request, produces a signed certificate. It stores a copy of the certificate request in /var/local/lib/ca/requests, and stores a copy of the certificate in /var/local/lib/ca/newcerts. It also updates the certificate revocation list, which is a publicly-accessible list of certificates that have been revoked.

Here is an example of how to invoke it:

ca-sign days request.csr out-cert-file.pem
  • days is the number of days that the certificate should be valid. Users get to choose this value.

  • request.csr is the certificate request.

  • out-cert-file.pem is where you want the generated certificate to be placed.

CertificateAuthority (last edited 2014-01-15 15:59:09 by ClintonEbadi)