Hi, You can try this kind of stuffs with /bin/sh:
(echo $COUNTRY echo $PROVINCE echo $CITY echo $ORGANIZATION echo $ORG_UNIT echo $COMMON_NAME_CLIENT echo $EMAIL_CLIENT echo $PASSWORD_CLIENT echo $ORG_UNIT ) | openssl req -new -keyout newreq.pem -out newreq.pem -days $LIFETIME -passin pass:$PASSWORD_CLIENT -passout pass:$PASSWORD_CLIENT and then: (echo y echo y) | openssl ca -policy policy_anything -out newcert.pem -passin pass:$PASSWORD_CLIENT -key $PASSWORD_CLIENT -extensions xpserver_ext -extfile xpextensions -infiles newreq.pem This script is provided with the Freeradius package: But there are some bugs/discrepancies within the script (I have corrected them for my personnal use). Hope this would help. Regards, Theary Loch -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Larry Ramos Envoyé : lundi 4 octobre 2004 04:01 À : [EMAIL PROTECTED] Objet : Requisition without prompt Hello, I'm new on this list and don't know if someone asked this: Is there a way to generate a new Certificate Requisition automatically using parameters, without the openssl prompts? Larry ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]