Postfix

Discussion in 'Server Operation' started by B4ssM4n, Jun 26, 2006.

  1. B4ssM4n

    B4ssM4n New Member

    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!!!
     
  2. platd

    platd New Member

    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
     

Share This Page