PDA

View Full Version : Postfix


B4ssM4n
27th June 2006, 00:36
Sry guys!!

after entering this command below;

openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt

I get the following

smtpd.csr no such file or directory

Where do I mkdir or file for the above or have I screwed up some when else I managed to get past the pass phrase part ok

NOOB here look out!!!

platd
27th June 2006, 01:11
I assume you are on this section

mkdir /etc/postfix/ssl
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650

You need to double check the steps
In this step
openssl req -new -key smtpd.key -out smtpd.csr
You create the file needed for this step
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
As i say double check you followed the whole section to the letter