Hello Mr. Ringaby,

--- Ringaby Anders <[EMAIL PROTECTED]> wrote:

> 
> 
> Hello again, Servie.
> 
> 
> Since sign.sh is a script, have you checked that the
> interpreter
> at line number 1 (should be "#!/bin/sh" in this
> case) is correct?
> Maybe the path is different in your system, or
> another interpreter
> is required like ksh or bash (that would be
> #!/bin/ksh or #!/bin/bash
> on line number 1 in the script).
> 
> Otherwise you can also run the script by typing:
> 
> sh sign.sh server.csr
> 
> ( or "ksh sign.sh server.csr" or "bash sign.sh
> server.csr" )

At the prompt, I did the following command:

# sh sign.sh server.csr
: command not foundline: 6:
'usr/sbin/sign.sh: sign.sh: line 15: syntax error near
unexpected token `in
'usr/sbin/sign.sh: sign.sh: line 15:  `    case $CSR
in

Now, what I don't understand is that I used the syntax
as posted on the site. What even puzzles me more is
that it should work but it seems that there seems to
be something wrong in the code or do I need to specify
the path on my env variables?

Any thoughts on this would definitely be greatly
appreciated. Thanks in advance.

Sincerely,
Servie
> 
> Good luck,
> 
> Anders
> 
> 
> 
> On Mon, 10 Jan 2005, Servie Platon wrote:
> 
> >
> >
> > Hello openssl gurus,
> >
> > I wanted to create my own private CA and use this
> to
> > sign CSR's instead of requesting a commercial CA
> to
> > sign my CSR.
> >
> > I have downloaded the latest tar.gz file and was
> able
> > to compile openssl without a problem.
> >
> > To do the above, I made the following commands:
> >
> > # openssl genrsa -des3 -rand
> > random1:random2:random3:random4:random5 -out
> ca.key
> > 1024
> >
> > # openssl req -new -x509 -days 365 -key ca.key
> -out
> > ca.crt
> >
> > # mv server.key private/
> >
> > # mv ca.key private/
> >
> > # mv ca.crt certs/
> >
> > (up to here, no errors)
> >
> > # sign.sh server.csr
> > : bad interpreter: No such file or directory
> >
> > Since it generated a bad intepreter error, I tried
> > using:
> >
> > # /usr/sbin/sign.sh server.csr
> >
> > or
> >
> > # /usr/sbin/sign.sh /etc/ssl/server.csr
> >
> > but still generated the same problem.
> >
> > I followed the instructions on how to make sign.sh
> at
> >
> http://www.faqs.org/docs/securing/chap24sec195.html
> >
> > I am just wondering what went wrong and how to
> solve
> > this problem. Any thoughts and help on this would
> be
> > highly appreciated.
> >
> > TIA.
> >
> > Sincerely,
> > Servie
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced
> search.
> > http://info.mail.yahoo.com/mail_250
> >
>
______________________________________________________________________
> > OpenSSL Project                                
> http://www.openssl.org
> > User Support Mailing List                   
> openssl-users@openssl.org
> > Automated List Manager                          
> [EMAIL PROTECTED]
> >
> 
>
______________________________________________________________________
> OpenSSL Project                                
> http://www.openssl.org
> User Support Mailing List                   
> openssl-users@openssl.org
> Automated List Manager                          
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to