generate.sh revision 1824
1824N/A# Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. 1824N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1824N/A# This code is free software; you can redistribute it and/or modify it 1824N/A# under the terms of the GNU General Public License version 2 only, as 1824N/A# published by the Free Software Foundation. Sun designates this 1824N/A# particular file as subject to the "Classpath" exception as provided 1824N/A# by Sun in the LICENSE file that accompanied this code. 1824N/A# This code is distributed in the hope that it will be useful, but WITHOUT 1824N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1824N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1824N/A# version 2 for more details (a copy is included in the LICENSE file that 1824N/A# You should have received a copy of the GNU General Public License version 1824N/A# 2 along with this work; if not, write to the Free Software Foundation, 1824N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1824N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1824N/A# needs ksh to run the script. 1824N/A# generate a self-signed root certificate 1824N/A# generate subca cert issuer 1824N/A # SHA1withRSA 1024 signed with RSA 1024 1824N/A # SHA1withRSA 1024 signed with RSA 512 1824N/A # SHA1withRSA 512 signed with RSA 1024 1824N/A # SHA1withRSA 512 signed with RSA 512 1824N/A # MD2withRSA 1024 signed with RSA 1024 1824N/A # MD2withRSA 1024 signed with RSA 512 1824N/A# generate certifiacte for Alice 1824N/A # SHA1withRSA 1024 signed with RSA 1024 1824N/A # SHA1withRSA 1024 signed with RSA 512 1824N/A # SHA1withRSA 512 signed with RSA 1024 1824N/A # SHA1withRSA 512 signed with RSA 512 1824N/A # MD2withRSA 1024 signed with RSA 1024 1824N/A # MD2withRSA 1024 signed with RSA 512 1824N/A # revoke alice's SHA1withRSA 1024 signed with RSA 1024