ubuntu server setup

Discussion in 'Installation/Configuration' started by RichMontana, Jun 21, 2007.

  1. RichMontana

    RichMontana New Member

    hello. im trying to setup an ubuntu server just to play around with. I am following the directions from here :

    http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p5

    I am on page 5 step 11 at the part:

    Afterwards we create the certificates for TLS:

    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

    at the line: openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt

    i get the following error:
    smtpd.csr: No such file or directory

    does anyone have any insights on this error and how to resolve it?
    Thanks Rich
     
  2. falko

    falko Super Moderator

    Did you get any error messages in the previous steps?

    I suggest that you run all the TLS commands again, one at a time.
     

Share This Page