Sha256: de24a426d5bac53391740f3ee3fa11612de64c2756af9e15ef16dc9448453652
Contents?: true
Size: 722 Bytes
Versions: 3
Compression:
Stored size: 722 Bytes
Contents
#!/usr/bin/env bash set -e cd "$(dirname "$0")" openssl x509 -x509toreq -in ca.crt -signkey ca.key -out ca.csr openssl x509 -req -days 365 -in ca.csr -set_serial 0x01 -signkey ca.key -out ca.crt && rm ca.csr openssl x509 -in ca.crt -outform der | sha256sum | awk '{print $1}' > ca.der.sha256 openssl x509 -x509toreq -in test.crt -signkey test.key -out test.csr openssl x509 -req -days 365 -in test.csr -set_serial 0x01 -CA ca.crt -CAkey ca.key -out test.crt && rm test.csr openssl x509 -in test.crt -outform der | sha256sum | awk '{print $1}' > test.der.sha256 openssl pkcs12 -export -inkey test.key -in test.crt -passout "pass:1234567890" -out test.p12 # output ISO8601 timestamp to file date -Iseconds > GENERATED_AT
Version data entries
3 entries across 3 versions & 1 rubygems