Lines Matching refs:CATOP
56 $CATOP="./demoCA";
88 if ( "$NEW" || ! -f "${CATOP}/serial" ) {
90 mkdir $CATOP, $DIRMODE;
91 mkdir "${CATOP}/certs", $DIRMODE;
92 mkdir "${CATOP}/crl", $DIRMODE ;
93 mkdir "${CATOP}/newcerts", $DIRMODE;
94 mkdir "${CATOP}/private", $DIRMODE;
95 open OUT, ">${CATOP}/index.txt";
97 open OUT, ">${CATOP}/crlnumber";
101 if ( ! -f "${CATOP}/private/$CAKEY" ) {
109 cp_pem($FILE,"${CATOP}/private/$CAKEY", "PRIVATE");
110 cp_pem($FILE,"${CATOP}/$CACERT", "CERTIFICATE");
115 "${CATOP}/private/$CAKEY -out ${CATOP}/$CAREQ");
117 "-out ${CATOP}/$CACERT $CADAYS -batch " .
118 "-keyfile ${CATOP}/private/$CAKEY -selfsign " .
120 "-infiles ${CATOP}/$CAREQ ");
128 "-certfile ${CATOP}/$CACERT -out newcert.p12 " .
156 system ("$VERIFY -CAfile $CATOP/$CACERT $j");
161 system ("$VERIFY -CAfile $CATOP/$CACERT newcert.pem");