2469N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2404N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2404N/A# This code is free software; you can redistribute it and/or modify it 2404N/A# under the terms of the GNU General Public License version 2 only, as 2404N/A# published by the Free Software Foundation. 2404N/A# This code is distributed in the hope that it will be useful, but WITHOUT 2404N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2404N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2404N/A# version 2 for more details (a copy is included in the LICENSE file that 2404N/A# You should have received a copy of the GNU General Public License version 2404N/A# 2 along with this work; if not, write to the Free Software Foundation, 2404N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2469N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2404N/A# @summary CertPath validation regression caused by SHA1 replacement root 2404N/Aif [
"${TESTSRC}" =
"" ] ;
then 2404N/Aif [
"${TESTJAVA}" =
"" ] ;
then 2404N/A# set platform-dependent variables 2404N/A# 1. Generate 3 aliases in a keystore: ca, int, user 2404N/A# 2. Signing: ca -> int -> user 2404N/A# 3. Create the certchain file 2404N/A# 4. Upgrade ca from MD2withRSA to SHA256withRSA, remove other aliases and 2404N/A# make this keystore the cacerts file