Sha256: aff947b4c40f71a3c440078388616af0a643e0975e4c86ad507fe0958a671000

Contents?: true

Size: 657 Bytes

Versions: 44

Compression:

Stored size: 657 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

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
logstash-output-elasticsearch-11.22.7-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.6-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.5-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.4-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.3-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.2-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.1-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.22.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.21.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.20.1-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.20.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.19.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.18.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.17.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-test-11.16.1-x86_64-linux spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-test-11.16.0-x86_64-linux spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.16.0-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.15.9-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.15.8-java spec/fixtures/test_certs/renew.sh
logstash-output-elasticsearch-11.15.7-java spec/fixtures/test_certs/renew.sh