On Mon, May 10, 2010 at 12:07 AM, Camilo III Lozano <[email protected]> wrote:
> i'm new to bash... trying to simplify generating ssl certs... but does not
> work...
>
> here's the code...
>
> #!/bin/bash
> umask 077
>
> echo ""
> if [ $# -eq 0 ] ; then
> echo $"Usage: `basename $0` <DOMAIN_NAME> [...]"
> echo ""
> exit 0
> fi
>
> for target in $@ ; do
>
> keyFile = ${target}.key
> crtFile = ${target}.crt
> csrFile = ${target}.csr
try removing spaces... as in,
keyFile=${target}.key
crtFile=${target}.crt
csrFile=${target}.csr
note: it would have been better to send the script as an attachment so
that I would have have sent a diff file...
--
There are seven words in this sentence.
_________________________________________________
Kagay-Anon Linux Users' Group (KLUG) Mailing List
[email protected] (http://lists.linux.org.ph/mailman/listinfo/klug)
Searchable Archives: http://archives.free.net.ph