Here is a clean, click friendly solution. Only minor shell knowledge needed
1) login into your Plesk control panel as admin. Go to "Server" section.
2) click on "Certificates". If nothing else, you'll see atleast one cert there, the default one. Leave it alone for the time being.
3) click "Add New Certificate". Choose a name for it (eg. "new plesk cert"), choose 2048 bits, enter other info (you can copy SwSoft's info if you want to). Click "Self Signed" button and wait for the server to generate the new cert.
Now you'll have atleast two certs in the list, the old default one and the new one you have just created (you might have others too).
4) choose the new cert and click "Default". Choose it again and click "Setup". Wait a bit, the server might get stuck on this screen. Doesn't matter, remain calm.
5) go back to the "Server" area and go into "IP Addresses". Click on each IP you have and if uses the old default cert, change it. Chose the new one instead. If it uses another cert, leave it alone.
6) now, go back to "Certificates" area. You'll notice that the "Used" number next to the old default cert is zero. If it isn't, then you've forgot to change some IP's chosen cert.
You can delete the old default cert now, if you wish. It doesn't matter.
7) now, go into shell and su to root if you aren't root already. Issue the command 'service psa stopall'. Than issue the command 'service psa startall'. Make sure the services restarted as they should.
It often happens that the admin server doesn't restart right away, issue the command 'service psa restart' just to be sure.
That's it, your Plesk will use a renewed cert.
If you ever need to mess with this certs by the hand, here is some useful info (RHEL server):
- admin cert is in "/usr/local/psa/admin/conf/httpsd.pem" file
- other certs are in the /usr/local/psa/var/certificates directory
The restart of merely psa admin httpd doesn't do it. We've always needed to restart all psa services in order to activate the new admin cert (probably just some of them, but who has time to research which). The server restart is an overkill, though. It destroys those wonderful uptime stats if nothing else
Hope this helps.