• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/neon/test/

Lines Matching refs:CA

2 # Helper script to create CA and server certificates.
9 CA="${OPENSSL} ca -config ${CONF} -batch"
69 # Create intermediary CA
71 ${CA} -extensions caExt -days 3560 -in ca2.csr -out ca2/cert.pem
77 CADIR=./ca1 ${CA} -name neoncainit -extensions caExt -startdate `asn1date "2 days ago"` -enddate `asn1date "yesterday"` \
80 CADIR=./ca3 ${CA} -name neoncainit -extensions caExt -startdate `asn1date "1 year"` -enddate `asn1date "2 years"` \
138 ### produce a set of CA certs
140 csr_fields "First Random CA" "first.example.com" "CAs Ltd." Lincoln Lincolnshire | \
143 csr_fields "Second Random CA" "second.example.com" "CAs Ltd." Falmouth Cornwall | \
146 csr_fields "Third Random CA" "third.example.com" "CAs Ltd." Ipswich Suffolk | \
149 csr_fields "Fourth Random CA" "fourth.example.com" "CAs Ltd." Norwich Norfolk | \
191 ${CA} -days 900 -in ${f}.csr -out ${f}.cert
194 ${CA} -startdate `asn1date "2 days ago"` -enddate `asn1date "yesterday"` -in expired.csr -out expired.cert
196 ${CA} -startdate `asn1date "tomorrow"` -enddate `asn1date "2 days"` -in notyet.csr -out notyet.cert
199 ${CA} -extensions altExt${n} -days 900 \
203 # Sign this CSR using the intermediary CA
204 CADIR=./ca2 ${CA} -days 900 -in server.csr -out ca2server.cert
209 # sign with expired CA
210 CADIR=./ca1 ${CA} -days 3 -in server.csr -out ca1server.cert
212 # sign with not yet valid CA
213 CADIR=./ca3 ${CA} -days 3 -in server.csr -out ca3server.cert
242 # a PKCS#12 cert including a bundled CA cert
243 echo foobar | ${MKPKCS12} -certfile ca/cert.pem -name "A Neon Client Cert With CA" -out clientca.p12