Difference between revisions of "Steps to remove expired domain certificate from domain level configuration"

(Created page with "=== <h1>Steps_to_remove_expired_domain_certificate_from_domain_level_configuration</h1> === <hr> <br> <h2>Problem:</h2> Unable to remove expired domain certificate from do...")
 
Line 1: Line 1:
=== <h1>Steps_to_remove_expired_domain_certificate_from_domain_level_configuration</h1> ===
+
=== <h1>Remove expired domain certificate from domain level configuration</h1> ===
 
<hr>
 
<hr>
 
<br>
 
<br>
 
  
 
<h2>Problem:</h2>   
 
<h2>Problem:</h2>   
Line 11: Line 10:
  
 
'''1).''' Move old domain certificate from "domaincerts" directory to some other location.
 
'''1).''' Move old domain certificate from "domaincerts" directory to some other location.
 +
    mv /opt/zimbra/conf/domaincerts/<OLD-CERT-FILES> /tmp/
  
    <pre>mv /opt/zimbra/conf/domaincerts/<OLD-CERT-FILES> /tmp/</pre>
 
  
 
'''2).''' Clear certificate and private key entries from domain level configuration.
 
'''2).''' Clear certificate and private key entries from domain level configuration.
 +
    zmprov md DOMAIN.COM zimbraSSLCertificate "" zimbraSSLPrivateKey ""
 +
  
<pre>zmprov md DOMAIN.COM zimbraSSLCertificate "" zimbraSSLPrivateKey ""
 
</pre>
 
 
'''3).''' On proxy server regenerate nginx configuration files to take changes.  
 
'''3).''' On proxy server regenerate nginx configuration files to take changes.  
 +
    /opt/zimbra/libexec/zmproxyconfgen -v -D -s <Any mailbox server name> 
 +
    OR
 +
    /opt/zimbra/libexec/zmproxyconfgen -v -D 
 +
    OR
 +
    /opt/zimbra/libexec/zmproxyconfgen -v
  
<pre>zmproxyconfgen -v -D -s <Any mailbox server name></pre>
 
  
 
'''4).''' Restart proxy service on all proxy servers.
 
'''4).''' Restart proxy service on all proxy servers.
 +
    zmproxyctl restart
 +
 +
  
  <pre>zmproxyctl restart</pre>
+
Submitted by: Heera Singh Koranga

Revision as of 02:34, 19 August 2017

Remove expired domain certificate from domain level configuration



Problem:

Unable to remove expired domain certificate from domain configuration.

Solution:

With the help of following steps we can remove expired domain certificate and key entry from domain configuration.

1). Move old domain certificate from "domaincerts" directory to some other location.

    mv /opt/zimbra/conf/domaincerts/<OLD-CERT-FILES> /tmp/ 


2). Clear certificate and private key entries from domain level configuration.

    zmprov md DOMAIN.COM zimbraSSLCertificate "" zimbraSSLPrivateKey ""


3). On proxy server regenerate nginx configuration files to take changes.

    /opt/zimbra/libexec/zmproxyconfgen -v -D -s <Any mailbox server name>   
    OR 
    /opt/zimbra/libexec/zmproxyconfgen -v -D  
    OR 
    /opt/zimbra/libexec/zmproxyconfgen -v 


4). Restart proxy service on all proxy servers.

    zmproxyctl restart


Submitted by: Heera Singh Koranga

Jump to: navigation, search