Compare commits
5 commits
3777343e2d
...
552cb373f1
Author | SHA1 | Date | |
---|---|---|---|
552cb373f1 | |||
|
018a2a443e | ||
|
6762ee5394 | ||
|
4ea037359b | ||
|
5e52834eae |
1 changed files with 4 additions and 2 deletions
6
haini.sh
6
haini.sh
|
@ -116,7 +116,7 @@ generar_certificado() {
|
||||||
-keyout $domain_key -out $domain_csr \
|
-keyout $domain_key -out $domain_csr \
|
||||||
-subj '/C=AR/ST=Ninguno/L=Interdimension/O=Sutty-Local/CN=sutty.local'"
|
-subj '/C=AR/ST=Ninguno/L=Interdimension/O=Sutty-Local/CN=sutty.local'"
|
||||||
correr "openssl x509 -req -sha256 -days 3650 \
|
correr "openssl x509 -req -sha256 -days 3650 \
|
||||||
-in $domain_csr -CA $ca_crt.pem -CAkey $ca_key \
|
-in $domain_csr -CA $ca_crt -CAkey $ca_key \
|
||||||
-CAcreateserial -extfile /Sutty/haini.sh/domains.ext -out $domain_crt"
|
-CAcreateserial -extfile /Sutty/haini.sh/domains.ext -out $domain_crt"
|
||||||
|
|
||||||
rm "$ENTORNO$ca_crt.pem"
|
rm "$ENTORNO$ca_crt.pem"
|
||||||
|
@ -246,7 +246,9 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
crear_entorno
|
crear_entorno
|
||||||
stdin=/dev/stdin correr "${*:-$DEFAULT}"
|
stdin=/dev/stdin correr "${*:-$DEFAULT}" ; salida=$?
|
||||||
|
|
||||||
${SSH_ADHOC} && ssh-agent -k
|
${SSH_ADHOC} && ssh-agent -k
|
||||||
|
|
||||||
|
exit $salida
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue