Hi, I have a problem, hopefully someone can help. I think this is the right list for this, but if not could someone please direct me in the right direction. Here is my situation. I am using mod_ssl in conjunction with modules such as mod Rewrite and mod Proxy, etc. I have a script that uploads a new set of re-write rules for mod Rewrite to use via ssh if a trigger file is found. Unfortunately to the best of my knowledge Apache has to be shutdown totally (no ,shutdown graceful will not work) to be able use the new set of rules. So what I did was write a second little Expect script to ssh into it, shutdown the server, load the re-write rules and (TRY) to restart the apache secure server. Of course you can see where this is going. I get prompted for the PEM pass phrase of course. I have expect send it, and it craps out. Here is the error message i get in the apache log for the ssl engine: [17/Jul/1999 16:44:42] [info] Init: Requesting pass phrase via builtin terminal dialog [17/Jul/1999 16:44:42] [error] Init: Private key not found. (OpenSSL library err or follows) [17/Jul/1999 16:44:42] [error] OpenSSL: error:0D09B08F:asn1 encoding routines:d2 i_PrivateKey:unknown public key type I thought for a moment that the password was getting mangled via the expect script, but i stepped through that part of the script and I went into interactive mode after I sent the password without a carriage return" as soon as I was in interactive mode and sent the carriage return and apache started up just fine. Any clues as to why i can not enter the password via a scripted Expect script ?? Or am I a complete idiot and over looking something. (I am willing to be on the later of course) ;-) Thanks a bunch, Scott [EMAIL PROTECTED] ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
