File: generate

package info (click to toggle)
python-pyhanko-certvalidator 0.26.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,988 kB
  • sloc: python: 9,254; sh: 47; makefile: 4
file content (23 lines) | stat: -rwxr-xr-x 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

rm *.ors *.crl certs/*.crt

alice_ocsp() {
  certomancer seance freshness-ca alice interm "alice-$1.ors" \
    --at-time "$1T00:00:00+0000"
}

root_crl() {
  certomancer necronomicon freshness-ca root "root-$1.crl" \
    --no-pem --at-time "$1T00:00:00+0000"
}

certomancer mass-summon freshness-ca certs --flat --no-pfx --no-pem

alice_ocsp "2020-10-01"
alice_ocsp "2020-11-29"
alice_ocsp "2020-12-10"

root_crl "2020-10-01"
root_crl "2020-11-29"
root_crl "2020-12-10"