This repository has been archived on 2022-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
ssladmin/gen.intermediate.chain.sh

7 lines
246 B
Bash

#!/bin/bash
set -e
echo "Generating chain cert file..."
cat ${rootdir}/intermediate/crt/intermediate.crt ${rootdir}/crt/ca.crt > ${rootdir}/intermediate/crt/intermediate-chained.crt
chmod 444 ${rootdir}/intermediate/crt/intermediate-chained.crt