Date: Mon, 06 Dec 2004 10:30:53 -0800 From: "Ryan J. Cavicchioni" <ryan@confabulator.net> To: freebsd-questions@freebsd.org Subject: Re: SSL Certificate generation for vsftpd on FreeBSD 5.3 Message-ID: <41B4A55D.4090606@confabulator.net> In-Reply-To: <41B4A402.2010402@confabulator.net> References: <41B4A402.2010402@confabulator.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Also ... What ports does FTPS need open? Ryan J. Cavicchioni wrote: > How can I generate a .pem certificate to use for SSL/TLS with vsftpd. > > This is all that I could find: > > puppy# cd /usr/share/ssl/certs > puppy# make vsftpd.pem > umask 77 ; \ > PEM1=`/bin/mktemp /tmp/openssl.XXXXXX` ; \ > PEM2=`/bin/mktemp /tmp/openssl.XXXXXX` ; \ > /usr/bin/openssl req -newkey rsa:1024 -keyout $PEM1 -nodes -x509 -days > 365 -out $PEM2 ; \ > cat $PEM1 > vsftpd.pem ; \ > echo "" >> vsftpd.pem ; \ > cat $PEM2 >> vsftpd.pem ; \ > rm -f $PEM1 $PEM2 > Generating a 1024 bit RSA private key > > Is there a better way to do this? /usr/share/ssl/certs does not exist > and "make vsftpd.pem" does not work. > > Thanks. > > - Ryan > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.6 - Release Date: 12/5/2004
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41B4A55D.4090606>