Changeset 2815 for trunk/locker/sbin


Ignore:
Timestamp:
Jan 30, 2017, 8:35:20 PM (8 years ago)
Author:
ezyang
Message:
Add documentation on how to use vhostcert.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/sbin/vhostcert

    r2805 r2815  
    77import sys
    88from OpenSSL import crypto
     9
     10# How to use:
     11# 1. Download the "X509, Base64 encoded" cert from the Certificate
     12#    Services Manager
     13# 2. Run "vhostcert import < foo_mit_edu.cer". Save stdout (a base64
     14#    blob)
     15# 3. Log in as root to a Scripts server, and run vhostedit foo.mit.edu
     16# 4. Add entries:
     17#       scriptsVhostCertificate: space-separated base64 blobs from vhostcert import
     18#       scriptsVhostCertificateKeyFile: scripts-2048.key
     19# 5. On each server:
     20#       /etc/httpd/export-scripts-certs
     21#       systemctl reload httpd.service
     22#
     23# TODO: Make this script do the vhostedit automatically.
    924
    1025def debug_chain(chain):
Note: See TracChangeset for help on using the changeset viewer.