#!/bin/bash

# Copyright (c) 2018 Mastercard

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

#   http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


./p11req -l /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so -m sql:. -i testsan138 -k 2048 -h sha1 -d '/CN=mysantest-138/OU=KMS TS/O=MasterCard Worldwide/C=BE' \
-e DNS:sanentry-csr-1 \
-e DNS:sanentry-csr-2 \
-e DNS:sanentry-csr-3 \
-e DNS:sanentry-csr-4 \
-e DNS:sanentry-csr-5 \
-e DNS:sanentry-csr-6 \
-e DNS:sanentry-csr-7 \
-e DNS:sanentry-csr-8 \
-e DNS:sanentry-csr-9 \
-e DNS:sanentry-csr-10 \
-e DNS:sanentry-csr-11 \
-e DNS:sanentry-csr-12 \
-e DNS:sanentry-csr-13 \
-e DNS:sanentry-csr-14 \
-e DNS:sanentry-csr-15 \
-e DNS:sanentry-csr-16 \
-e DNS:sanentry-csr-17 \
-e DNS:sanentry-csr-18 \
-e DNS:sanentry-csr-19 \
-e DNS:sanentry-csr-20 \
-e DNS:sanentry-csr-21 \
-e DNS:sanentry-csr-22 \
-e DNS:sanentry-csr-23 \
-e DNS:sanentry-csr-24 \
-e DNS:sanentry-csr-25 \
-e DNS:sanentry-csr-26 \
-e DNS:sanentry-csr-27 \
-e DNS:sanentry-csr-28 \
-e DNS:sanentry-csr-29 \
-e DNS:sanentry-csr-30 \
-e DNS:sanentry-csr-31 \
-e DNS:sanentry-csr-32 \
-e DNS:sanentry-csr-33 \
-e DNS:sanentry-csr-34 \
-e DNS:sanentry-csr-35 \
-e DNS:sanentry-csr-36 \
-e DNS:sanentry-csr-37 \
-e DNS:sanentry-csr-38 \
-e DNS:sanentry-csr-39 \
-e DNS:sanentry-csr-40 \
-e DNS:sanentry-csr-41 \
-e DNS:sanentry-csr-42 \
-e DNS:sanentry-csr-43 \
-e DNS:sanentry-csr-44 \
-e DNS:sanentry-csr-45 \
-e DNS:sanentry-csr-46 \
-e DNS:sanentry-csr-47 \
-e DNS:sanentry-csr-48 \
-e DNS:sanentry-csr-49 \
-e DNS:sanentry-csr-50 \
-e DNS:sanentry-csr-51 \
-e DNS:sanentry-csr-52 \
-e DNS:sanentry-csr-53 \
-e DNS:sanentry-csr-54 \
-e DNS:sanentry-csr-55 \
-e DNS:sanentry-csr-56 \
-e DNS:sanentry-csr-57 \
-e DNS:sanentry-csr-58 \
-e DNS:sanentry-csr-59 \
-e DNS:sanentry-csr-60 \
-e DNS:sanentry-csr-61 \
-e DNS:sanentry-csr-62 \
-e DNS:sanentry-csr-63 \
-e DNS:sanentry-csr-64 \
-e DNS:sanentry-csr-65 \
-e DNS:sanentry-csr-66 \
-e DNS:sanentry-csr-67 \
-e DNS:sanentry-csr-68 \
-e DNS:sanentry-csr-69 \
-e DNS:sanentry-csr-70 \
-e DNS:sanentry-csr-71 \
-e DNS:sanentry-csr-72 \
-e DNS:sanentry-csr-73 \
-e DNS:sanentry-csr-74 \
-e DNS:sanentry-csr-75 \
-e DNS:sanentry-csr-76 \
-e DNS:sanentry-csr-77 \
-e DNS:sanentry-csr-78 \
-e DNS:sanentry-csr-79 \
-e DNS:sanentry-csr-80 \
-e DNS:sanentry-csr-81 \
-e DNS:sanentry-csr-82 \
-e DNS:sanentry-csr-83 \
-e DNS:sanentry-csr-84 \
-e DNS:sanentry-csr-85 \
-e DNS:sanentry-csr-86 \
-e DNS:sanentry-csr-87 \
-e DNS:sanentry-csr-88 \
-e DNS:sanentry-csr-89 \
-e DNS:sanentry-csr-90 \
-e DNS:sanentry-csr-91 \
-e DNS:sanentry-csr-92 \
-e DNS:sanentry-csr-93 \
-e DNS:sanentry-csr-94 \
-e DNS:sanentry-csr-95 \
-e DNS:sanentry-csr-96 \
-e DNS:sanentry-csr-97 \
-e DNS:sanentry-csr-98 \
-e DNS:sanentry-csr-99 \
-e DNS:sanentry-csr-100 \
-e DNS:sanentry-csr-101 \
-e DNS:sanentry-csr-102 \
-e DNS:sanentry-csr-103 \
-e DNS:sanentry-csr-104 \
-e DNS:sanentry-csr-105 \
-e DNS:sanentry-csr-106 \
-e DNS:sanentry-csr-107 \
-e DNS:sanentry-csr-108 \
-e DNS:sanentry-csr-109 \
-e DNS:sanentry-csr-110 \
-e DNS:sanentry-csr-111 \
-e DNS:sanentry-csr-112 \
-e DNS:sanentry-csr-113 \
-e DNS:sanentry-csr-114 \
-e DNS:sanentry-csr-115 \
-e DNS:sanentry-csr-116 \
-e DNS:sanentry-csr-117 \
-e DNS:sanentry-csr-118 \
-e DNS:sanentry-csr-119 \
-e DNS:sanentry-csr-120 \
-e DNS:sanentry-csr-121 \
-e DNS:sanentry-csr-122 \
-e DNS:sanentry-csr-123 \
-e DNS:sanentry-csr-124 \
-e DNS:sanentry-csr-125 \
-e DNS:sanentry-csr-126 \
-e DNS:sanentry-csr-127 \
-e DNS:sanentry-csr-128 \
-e DNS:sanentry-csr-129 \
-e DNS:sanentry-csr-130 \
-e DNS:sanentry-csr-131 \
-e DNS:sanentry-csr-132 \
-e DNS:sanentry-csr-133 \
-e DNS:sanentry-csr-134 \
-e DNS:sanentry-csr-135 \
-e DNS:sanentry-csr-136 \
-e DNS:sanentry-csr-137 \
-e DNS:sanentry-csr-138 \
-s 1 -p changeit


