X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=conf%2FCA%2FnewCA.sh;h=34aa54af361e6b39072c314241549286b2964158;hb=7a1817bf3cf3c40c6c33f673ddc46c3f115cc3bc;hp=49b12c3f6202884be70d99622b11d54b702977b8;hpb=5a081a25fd94da790a59a68195a19bc0ef7aa20c;p=aaf%2Fauthz.git diff --git a/conf/CA/newCA.sh b/conf/CA/newCA.sh index 49b12c3f..34aa54af 100644 --- a/conf/CA/newCA.sh +++ b/conf/CA/newCA.sh @@ -1,3 +1,22 @@ +#!/bin/bash +######### +# ============LICENSE_START==================================================== +# org.onap.aaf +# =========================================================================== +# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. +# =========================================================================== +# 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. +# ============LICENSE_END==================================================== # # NOTE: This README is "bash" capable. bash README.txt # @@ -9,7 +28,7 @@ touch index.txt echo "unique_subject = no" > index.txt.attr if [ ! -e serial ]; then - echo '01' > serial + echo $(date +%s) > serial fi if [ "$1" == "" ]; then