• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved Renew TLS certificate of mail server from CLI

vince6e74

New Pleskian
Server operating system version
Ubuntu 18.04
Plesk version and microupdate number
Plesk Obsidian v18.0.49
On the server, for technical reasons, the TLS certificates must be generated outside of Plesk. I then insert the certificates via plesk bin certificate command in Plesk. This works fine for websites and webmail. Unfortunately the new certificate is not taken over in the mail server configuration, although it is included in Plesk. The current fix is to go into the mail server settings in the web interface and simply click again on the certificate that is already selected. I would like to automate this step.

What service needs to be reloaded, restarted or configuration renewed for this to work?

Translated with DeepL
 
Google and search function of Plesk Talk have not helped. Similar threads part has given the solution.^^
sudo plesk bin subscription_settings -u "subscription.com" -mail_certificate "certificate name"
 
Back
Top