From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 21:09:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7B3916A4CE for ; Tue, 2 Dec 2003 21:09:09 -0800 (PST) Received: from mail.davemehler.com (dhcp065-031-041-029.woh.rr.com [65.31.41.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 985D243FB1 for ; Tue, 2 Dec 2003 21:09:08 -0800 (PST) (envelope-from dmehler@davemehler.com) Received: from localhost (unknown [127.0.0.1]) by mail.davemehler.com (Postfix) with ESMTP id A8E616149 for ; Wed, 3 Dec 2003 00:09:07 -0500 (EST) Received: from mail.davemehler.com ([127.0.0.1]) by localhost (zeus.davemehler.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01331-06 for ; Wed, 3 Dec 2003 00:09:07 -0500 (EST) Received: from satellite (satellite.davemehler.net [192.168.0.2]) by mail.davemehler.com (Postfix) with SMTP id 4CDD86148 for ; Wed, 3 Dec 2003 00:09:07 -0500 (EST) Message-ID: <001e01c3b95b$66c5afe0$0200a8c0@satellite> From: "dave" To: Date: Wed, 3 Dec 2003 00:07:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: openssl and key generation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 05:09:10 -0000 Hello, I'm trying to use openssl to do encryption with some files and to create a key for postfix for use in authenticated smtp. For my first case i'm doing: openssl enc -blowfish -in /root/etc.tar.gz -out /root/etc.tgz.bf to try to encrypt a tar file. And for my second, trying to create a key for use with postfix's authenticated smtp feature: /usr/sbin/openssl req -new -x509 -days 365 -nodes \ -config /etc/postfix/ssl/pst.cnf -out /etc/postfix/ssl/post.pem \ -keyout /etc/postfix/ssl/post.pem /etc/postfix is a symlink to /usr/local/etc/postfix and i'm using openssl 0.9.7c in both cases i'm getting a usage error, yet i'm following a tutorial for this. Any suggestions? Thanks. Dave.