summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-11-05 11:11:15 -0600
committerInstrumental <jonathan.gathman@att.com>2018-11-05 11:11:31 -0600
commit7a1817bf3cf3c40c6c33f673ddc46c3f115cc3bc (patch)
tree6ac32d6f1b8800133c709cf22efcf509b6f07ee7 /conf
parentca788dc542830b054f0a46df2dfd774fc318872c (diff)
Missing Licenses
Issue-ID: AAF-607 Change-Id: Ibd6c50104af69c4164d53aa0f8709520020ce7a5 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/CA/README.txt19
-rw-r--r--conf/CA/bootstrap.sh19
-rw-r--r--conf/CA/clean.sh20
-rw-r--r--conf/CA/manual.sh20
-rw-r--r--conf/CA/newCA.sh19
-rw-r--r--conf/CA/newIntermediate.sh20
-rw-r--r--conf/CA/openssl.conf20
-rwxr-xr-xconf/CA/p11.sh20
-rw-r--r--conf/CA/p12.sh20
-rw-r--r--conf/CA/san.conf19
-rw-r--r--conf/CA/signerP12.sh21
-rw-r--r--conf/CA/truststore.sh21
12 files changed, 236 insertions, 2 deletions
diff --git a/conf/CA/README.txt b/conf/CA/README.txt
index 0fd261f2..e34f9fd2 100644
--- a/conf/CA/README.txt
+++ b/conf/CA/README.txt
@@ -1,4 +1,23 @@
+#!/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
#
# create simple but reasonable directory structure
diff --git a/conf/CA/bootstrap.sh b/conf/CA/bootstrap.sh
index 145c22c7..e753493d 100644
--- a/conf/CA/bootstrap.sh
+++ b/conf/CA/bootstrap.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====================================================
#
# Streamlined AAF Bootstrap initial Cert
# Removed Variables so it can be run for AutoDeployments
diff --git a/conf/CA/clean.sh b/conf/CA/clean.sh
index 593a0a6c..0fe5f2a0 100644
--- a/conf/CA/clean.sh
+++ b/conf/CA/clean.sh
@@ -1 +1,21 @@
+#!/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====================================================
+#
rm -Rf private certs newcerts index* serial* intermediate.serial intermediate_*
diff --git a/conf/CA/manual.sh b/conf/CA/manual.sh
index 07a1ed6a..b2a5db97 100644
--- a/conf/CA/manual.sh
+++ b/conf/CA/manual.sh
@@ -1,3 +1,23 @@
+#!/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====================================================
+#
#
# Initialize a manual Cert. This is NOT entered in Certman Records
# $1 - CN (Common Name)
diff --git a/conf/CA/newCA.sh b/conf/CA/newCA.sh
index 698307a5..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
#
diff --git a/conf/CA/newIntermediate.sh b/conf/CA/newIntermediate.sh
index e09a4fcf..ebd23eeb 100644
--- a/conf/CA/newIntermediate.sh
+++ b/conf/CA/newIntermediate.sh
@@ -1,3 +1,23 @@
+#!/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====================================================
+#
#
# Initialize an Intermediate CA Cert.
#
diff --git a/conf/CA/openssl.conf b/conf/CA/openssl.conf
index 528c14d2..abb2892f 100644
--- a/conf/CA/openssl.conf
+++ b/conf/CA/openssl.conf
@@ -1,3 +1,23 @@
+#!/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====================================================
+#
# OpenSSL root CA configuration file.
# Copy to `/opt/app/osaaf/CA/openssl.cnf`.
diff --git a/conf/CA/p11.sh b/conf/CA/p11.sh
index fdc0a3f9..188ed726 100755
--- a/conf/CA/p11.sh
+++ b/conf/CA/p11.sh
@@ -1,3 +1,23 @@
+#!/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====================================================
+#
#
# Import the keys and certs to pkcs11 based softhsm
#
diff --git a/conf/CA/p12.sh b/conf/CA/p12.sh
index 23e76247..05bd1f45 100644
--- a/conf/CA/p12.sh
+++ b/conf/CA/p12.sh
@@ -1,3 +1,23 @@
+#!/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====================================================
+#
#
# Create a p12 file from local certs
#
diff --git a/conf/CA/san.conf b/conf/CA/san.conf
index de9f62f9..3454fc47 100644
--- a/conf/CA/san.conf
+++ b/conf/CA/san.conf
@@ -1,3 +1,22 @@
+#########
+# ============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====================================================
+#
# SAN Extension
# Copy, then add DNS.1 = name, etc
#
diff --git a/conf/CA/signerP12.sh b/conf/CA/signerP12.sh
index 17169a57..86004a67 100644
--- a/conf/CA/signerP12.sh
+++ b/conf/CA/signerP12.sh
@@ -1,3 +1,22 @@
-cp ../certs/ca.crt signer.trustchain
+#!/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====================================================
+#cp ../certs/ca.crt signer.trustchain
cat certs/ca.crt >> signer.trustchain
openssl pkcs12 -export -name aaf_intermediate_1 -in signer.trustchain -inkey private/ca.key -out aaf_intermediate_1.p12
diff --git a/conf/CA/truststore.sh b/conf/CA/truststore.sh
index 0414c486..ba9b93cf 100644
--- a/conf/CA/truststore.sh
+++ b/conf/CA/truststore.sh
@@ -1,4 +1,23 @@
-
+#!/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====================================================
+#
echo "FYI, by convention, truststore passwords are 'changeit', but you may add something more sophisticated"
# PCKS12 does not appear to be able to mark CAs as Trusted
# openssl pkcs12 -export -name AAF_Root_CA -in certs/ca.crt -nokeys -out truststore.p12