sorry, this is not the correct way to fix certificate issues. The next time, when Plesk will recreate configuration files, your issue will re-appear.
Please consider to remove certificates over your Plesk Control Panel ( for the IP as well, as for your domain ), in order to avoid issues. In some rare cases, you have to edit the psa database and correct orphaned certificate entries manually.