Nginx vhost file pointing to incorrect SSL cert

Discussion in 'Installation/Configuration' started by jascha, Oct 26, 2016.

  1. jascha

    jascha New Member

    Hi there,

    I've just set up a Debian 8 server with nginx and PHP7, PHP5.6 and HHVM.
    After adding a first test site and creating a SSL cert I noticed the browser complaining about a self-signed certificate. When checking, what's causing this behaviour, I found out there are self-signed certs as well as Letsencrypt certs in the respecting SSL folder. And the nginx vhost file is pointing to the self-signed certs, not the Letsencrypt certs.

    I tried removing and recreating the certs as well as disabling and reenabling the whole functionality. Whatever I do, the results are the same. Nginx keeps pointing to the self-signed certs.

    What am I doing wrong?


Share This Page