Migrate from .stow-rename to --dotfiles
This commit is contained in:
parent
2cd7ee3bf7
commit
f309f3a7a6
20 changed files with 0 additions and 2 deletions
7
dot-local/bin/sign-with-own-ca
Executable file
7
dot-local/bin/sign-with-own-ca
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/zsh
|
||||
if ! [[ -r $1 ]]; then
|
||||
print "Usage: $0 path/to/request.csr" >&2
|
||||
exit 1
|
||||
fi
|
||||
ca=/etc/ssl/$HOST/root
|
||||
sudo openssl x509 -req -CA $ca.crt -CAkey $ca.key -CAcreateserial -sha256 -days 30 -extensions v3_req -extfile /usr/local/etc/openssl/openssl.cnf -in $1 -out ${1:r}.crt
|
Loading…
Add table
Add a link
Reference in a new issue