Compare commits
No commits in common. "552cb373f1a0a08d057b84c32d8ee354f0abfcb2" and "3777343e2d6554fc1433cc99fa94b850a77d6eef" have entirely different histories.
552cb373f1
...
3777343e2d
1 changed files with 2 additions and 4 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 -CAkey $ca_key \
|
-in $domain_csr -CA $ca_crt.pem -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,9 +246,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
crear_entorno
|
crear_entorno
|
||||||
stdin=/dev/stdin correr "${*:-$DEFAULT}" ; salida=$?
|
stdin=/dev/stdin correr "${*:-$DEFAULT}"
|
||||||
|
|
||||||
${SSH_ADHOC} && ssh-agent -k
|
${SSH_ADHOC} && ssh-agent -k
|
||||||
|
|
||||||
exit $salida
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue