...

Text file src/github.com/letsencrypt/boulder/test/grpc-creds/generate.sh

Documentation: github.com/letsencrypt/boulder/test/grpc-creds

     1#!/bin/bash
     2set -e
     3set -o xtrace
     4
     5# Check that `minica` is installed
     6command -v minica >/dev/null 2>&1 || {
     7  echo >&2 "No 'minica' command available.";
     8  echo >&2 "Check your GOPATH and run: 'go get github.com/jsha/minica'.";
     9  exit 1;
    10}
    11
    12for SERVICE in admin-revoker expiration-mailer ocsp-responder consul \
    13  wfe akamai-purger bad-key-revoker crl-updater crl-storer \
    14  health-checker; do
    15  minica -domains "${SERVICE}.boulder"
    16done
    17
    18for SERVICE in publisher nonce ra ca sa va rva ; do
    19  minica -domains "${SERVICE}.boulder,${SERVICE}1.boulder,${SERVICE}2.boulder"
    20done

View as plain text