bad cert?

Discussion in 'Installation/Configuration' started by cfra, Aug 31, 2006.

  1. cfra

    cfra New Member

    after 'successfull' install cannot access/login https://xxx:81
    firefox returns error about invalid or corrupted certificate, error code -8182

    new install of ubuntu 6, i386
    followed guide in "perfect install"

    suggestions?
     
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    what happens if you try to access with the internet explorer?
     
  3. cfra

    cfra New Member

    nada with IE
     
  4. Rocky

    Rocky New Member

    Use the following at an ssh prompt to reset the cert.

    openssl genrsa -des3 -passout pass:password -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024

    openssl req -new -passin pass:password -passout pass:password -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365

    openssl req -x509 -passin pass:password -passout pass:password -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365

    openssl rsa -passin pass:password -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key

    chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key

    Make sure you replase password with your own.
    Then restart ISPConfig by running:
    /etc/init.d/ispconfig_server restart

    Good luck.
     
  5. cfra

    cfra New Member

    GOLDEN!

    Many thanks!
     

Share This Page