StartSSL Certificate

Discussion in 'Installation/Configuration' started by skrydal, Nov 3, 2014.

  1. skrydal

    skrydal New Member

    Hi I was fallow the tutorial http://www.howtoforge.com/securing-...h-a-free-class1-ssl-certificate-from-startssl and when I try to restart nginx give to me error

    /usr/local/ispconfig/interface/ssl# service nginx restart
    * Restarting nginx nginx [fail]

    so i used the command nginx -c /etc/nginx/nginx.conf -t

    and gives me that result :

    [emerg] SSL_CTX_use_PrivateKey_file("/usr/local/ispconfig/interface/ssl/ispserver.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

    How to fix that?

    Thank you
    Maciek
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    I used this tutorial a few days ago and had no problems. It seems, you missed a step.
     
  3. skrydal

    skrydal New Member

    Let me try do it again, its not my first tutorial, but first where I got problem:( bad things happend. I will make post here how its go.

    Thanks.

    Maciek
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The error means that th ssl key and ssl cert in /usr/local/ispconfig/interface/ssl do not belong together. So there must be something gone wrong while you followed the tutorial, maybe when copying around the files or you used a different csr for the cert. I used this guide several times myself without issues, so I'am quite sure that the guide is correct.
     
  5. skrydal

    skrydal New Member

    Thank you Till.

    I will be working again on that one. Maybe I use different data when I create certificate in my server and here https://www.startssl.com/ . Its can be issue ?


    Thank you for support.

    Maciek
     

Share This Page