Sha256: 69ecd6ac6945f36b96eaf68742f8dc2c01391323afa2e86532ca90e87d032f45

Contents?: true

Size: 473 Bytes

Versions: 27

Compression:

Stored size: 473 Bytes

Contents

#!/bin/sh

DIRNAME=$(dirname "$0")

openssl req -sha256 -new -key $DIRNAME/server_key.pem -out $DIRNAME/server.csr -subj "/CN=mercurio" -config $DIRNAME/server-openssl.cnf
openssl x509 -sha256 -req -in $DIRNAME/server.csr -CA $DIRNAME/ca_certificate.pem -CAkey $DIRNAME/ca_key.pem -CAcreateserial -CAserial $DIRNAME/ca.srl -out $DIRNAME/server_certificate.pem -days 3650 -extensions v3_req -extfile $DIRNAME/server-openssl.cnf

echo "Written new server CSR and certificate"

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
bunny-2.17.0 spec/tls/generate-server-cert.sh
bunny-2.16.1 spec/tls/generate-server-cert.sh
bunny-2.15.0 spec/tls/generate-server-cert.sh
bunny-2.14.4 spec/tls/generate-server-cert.sh
bunny-2.14.3 spec/tls/generate-server-cert.sh
bunny-2.14.2 spec/tls/generate-server-cert.sh
bunny-2.14.1 spec/tls/generate-server-cert.sh
bunny-2.13.0 spec/tls/generate-server-cert.sh
bunny-2.12.1 spec/tls/generate-server-cert.sh
bunny-2.12.0 spec/tls/generate-server-cert.sh
bunny-2.12.0.rc1 spec/tls/generate-server-cert.sh
bunny-2.11.0 spec/tls/generate-server-cert.sh
bunny-2.11.0.pre1 spec/tls/generate-server-cert.sh
bunny-2.10.0 spec/tls/generate-server-cert.sh
bunny-2.9.2 spec/tls/generate-server-cert.sh
bunny-2.9.1 spec/tls/generate-server-cert.sh
bunny-2.6.7 spec/tls/generate-server-cert.sh
bunny-2.7.4 spec/tls/generate-server-cert.sh
bunny-2.8.1 spec/tls/generate-server-cert.sh
bunny-2.9.0 spec/tls/generate-server-cert.sh