Installing certificates for WP Multisite
WordPress Multisite allows you to manage multiple websites on subdomains within a single domain using a single WordPress core.
Typically, a wildcard SSL certificate for such a site in ispmanager 6 is sufficient. However, if you need to install a separate certificate for individual subdomains or a subset of subdomains, you will have to manually configure a new virtual host in the web server configuration.
First, in the Website aliases field in the site settings, enter the primary domain name in the *.domain.com format.
Next, if you use Apache exclusively, in the site's configuration file, copy and paste next to it the VirtualHost block with port 443 specified, then change the values of the following directives:
ServerName- specify the subdomain or subdomains for which a separate SSL certificate will be used;ServerAlias- delete the value or directive entirely;SSLCertificateFile- specify the path to the new certificate;SSLCertificateKeyFile- specify the path to the new certificate's private key.
If you use Nginx, copy and paste next to it the server block containing the ssl_certificate directive, then replace the values of the following directives:
server_name- specify the subdomain or subdomains for which a separate SSL certificate will be used;ssl_certificate- specify the path to the new certificate;ssl_certificate_key- specify the path to the new certificate's private key.
Certificate files added via ispmanager 6 are located at /var/www/httpd-cert/<username>/.