On 1/4/06, pelusa vali <[EMAIL PROTECTED]> wrote:
> hi everybody, well i'm trying to use openssl 0.9.8.a in debian sarge with
> kernel 2.6.13, i compiled and installed with no problems, but when i try to
> generate CA i get some errors, i changed my working directory (CATOP) in
> openssl.cnf, CA.sh and CA.pl to ./miscerts
>
> so i tried this command:
>
> /usr/local/ssl/misc/CA.sh -newca
>
> and i got this error:
> /usr/local/ssl/misc/CA.sh: line 90: openssl: command not found
> /usr/local/ssl/misc/CA.sh: line 92: openssl: command not found
>
> line 90 and 92 in CA.sh are:
>
> $REQ -new -keyout ${CATOP}/private/$CAKEY -out ${CATOP}/$CAREQ
> $CA -out ${CATOP}/$CACERT $CADAYS -batch -keyfile ${CATOP}/private/$CAKEY
> -selfsign -infiles ${CATOP}/$CAREQIf 'openssl: command not found' is the error, then it's not finding the openssl binary. Make sure it's in your $PATH. (Fixing this will make CA.sh -newca work properly, which will make the rest of the steps work properly.) For a user-specific installation of OpenSSL, I usually put the binary in ~/bin and the share library in ~/lib, and in my .profile add the lines # add personal search directories here PATH=$HOME/bin:$PATH LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH # and just in case they're not properly exported... export PATH export LD_LIBRARY_PATH -Kyle H ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
