cat <<EOF > ${catype}.namespaces
# Namespace for the $subject_name"
TO Issuer "${subject_name}" \
- PERMIT Subject "$(echo "${subject_name}" | sed -e 's#/CN=.*$##' | sed 's/http:\/\/slash.slash.edu:7656\/testing/Utopia/')/*"
+ PERMIT Subject "$(echo "${subject_name}" | sed -e 's#/CN=.*$##' | sed 's/http:\/\/slash.slash.edu:7656\/testing/Utopia/')/.*"
EOF
# add also the namespace with slashes
TO Issuer "${subject_name}" \
- PERMIT Subject "$(echo "${subject_name}" | sed -e 's#/CN=.*$##')/*"
+ PERMIT Subject "$(echo "${subject_name}" | sed -e 's#/CN=.*$##')/.*"
EOF
fi
#NAMESPACES-VERSION: 1.0
# Namespaces file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
TO Issuer "${subject_name:9}" \
- PERMIT Subject "$(echo "${subject_name:9}" | sed -e 's#/CN=.*$##')/*"
+ PERMIT Subject "$(echo "${subject_name:9}" | sed -e 's#/CN=.*$##')/.*"
EOF
cp grid-security/certificates/${hash}.* grid-security/certificates-rootwithpolicy
cp grid-security/certificates/${hash}.* grid-security/certificates-rootallowsubsubdeny
TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subca CA" \
PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA"
TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA" \
- PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=*"
+ PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=.*"
EOF
cat <<EOF >grid-security/certificates-rootwithpolicy/${hash}.signing_policy
# Signing policy file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subca CA" \
PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA"
TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA" \
- PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=*"
+ PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=.*"
EOF
cat <<EOF >grid-security/certificates-rootallowsubsubdeny/${hash}.signing_policy
# Signing policy file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
TO Issuer "${subject_name:9}" \
PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA"
TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA" \
- PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=*"
+ PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=.*"
EOF
cat <<EOF >grid-security/certificates-subcawithpolicy/${hash}.signing_policy
# Signing policy file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
#NAMESPACES-VERSION: 1.0
# Namespaces file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
TO Issuer "${subject_name:9}" \
- PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=*"
+ PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=.*"
EOF
cat <<EOF >grid-security/certificates/${hash}.signing_policy
# Signing policy file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
#NAMESPACES-VERSION: 1.0
# Namespaces file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
TO Issuer "${subject_name:9}" \
- PERMIT Subject "/C=UG/L=Tropic/O=Utopia-not/OU=Relaxation/CN=*"
+ PERMIT Subject "/C=UG/L=Tropic/O=Utopia-not/OU=Relaxation/CN=.*"
EOF
cat <<EOF >grid-security/certificates-rootallowsubsubdeny/${hash}.signing_policy
# Signing policy file for the $(echo "$subject_name" | sed -e 's#^.*/CN=##')
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the bad CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the bad CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the bad CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the bad CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the big CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the big CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the big CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the big CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the expired CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the expired CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the expired CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the expired CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the fake CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the fake CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the fake CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the fake CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the nokeyusage CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the nokeyusage CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the nokeyusage CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the nokeyusage CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the root CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the root CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the root CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the root CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/CN=the slash CA"
-TO Issuer "/C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/CN=the slash CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
-
-# add also the namespace with slashes
-TO Issuer "/C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/CN=the slash CA" PERMIT Subject "/C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/CN=the slash CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/CN=the slash CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
-
-# add also the namespace with slashes
-access_id_CA X509 '/C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/CN=the slash CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=http://slash.slash.edu:7656/testing/OU=Relaxation/*"'
-
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subca CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subca CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subca CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subca CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the subsubca CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'
+++ /dev/null
-# Namespace for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the trusted CA"
-TO Issuer "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the trusted CA" PERMIT Subject "/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"
-
+++ /dev/null
-# Signing policy file for the /C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the trusted CA"
-access_id_CA X509 '/C=UG/L=Tropic/O=Utopia/OU=Relaxation/CN=the trusted CA'
-pos_rights globus CA:sign
-cond_subjects globus '"/C=UG/L=Tropic/O=Utopia/OU=Relaxation/*"'