mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
unnecessary dependency to fdescfs #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erdgeist on GitHub (Dec 19, 2015).
The construct
<(cat "${OPENSSL_CNF}" <(printf "[SAN]\nsubjectAltName=%s" "${SAN}"))
leads to
No such file or directory:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:126:fopen('/dev/fd/63','rb')
under FreeBSD, if fdescfs is not mounted.
A simple
cp "${OPENSSL_CNF}" /tmp/foo.cnf
printf "[SAN]\nsubjectAltName=%s" "${SAN}" >> /tmp/foo.cnf
openssl req -new -sha256 -key "${BASEDIR}/certs/${domain}/${privkey}" -out "${BASEDIR}/certs/${domain}/cert-${timestamp}.csr" -subj "/CN=${domain}/" -reqexts SAN -config /tmp/foo.cnf
makes it work here.
@lukas2511 commented on GitHub (Dec 19, 2015):
thx