1 2 3 4 5 6 7 8
#!/bin/sh set -e FILE="$(readlink "${OCSPFILE}")" DIRECTORY="$(dirname "${OCSPFILE}")" ln -sf "${FILE}" "${DIRECTORY}/cert.fullchain-privkey.pem.ocsp"