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.7.3 spec/tls/generate-server-cert.sh
bunny-2.8.0 spec/tls/generate-server-cert.sh
bunny-2.7.2 spec/tls/generate-server-cert.sh
bunny-2.7.1 spec/tls/generate-server-cert.sh
bunny-2.7.0 spec/tls/generate-server-cert.sh
bunny-2.6.6 spec/tls/generate-server-cert.sh
bunny-2.6.5 spec/tls/generate-server-cert.sh