• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Unable to set domain SSL to "Not Selected"

Enverex

Basic Pleskian
We're trying to remove an SSL certificate from a domain but can't. Trying to remove it results in the error that it's currently assigned, which is fine because it is. The problem lies in the fact that it cannot be unassigned.

Going to "Website Scripting and Security" shows "Enable SSL Support" is enabled, where there should be a drop-down box is just the text stating which certificate is in use, no drop-down box thus making it impossible to set it back to "Not Selected".

Creating a second (dummy) certificate then going back into this section results in the drop-down box actually appearing now, but the only two options are the two SSL certificates - the ones we're trying to remove and the dummy one - still no "Not Selected" option.

If anyone's not sure where I'm referring to, I'm talking about this section - https://kb.plesk.com/Attachments/kcs-2423/Screenshot_59.png - basically "Not Selected" is never available as an option, thus we can never remove all SSLs from this domain.

Any ideas what's going on here and why this option is missing?
 
Alright, DB hax seemed to work here. Removed it manually from the DB then went back into Plesk and hit OK on the various hosting pages to make sure it saved the new "no certificate" configuration properly in the various places.

Command for reference was: UPDATE hosting SET certificate_id = 0 WHERE dom_id = (domain ID);
 
Hi Enverex,

you don't provide informations about your used Plesk version ( incl. MU ) and the used operation system on your server, but you still could be informed about the => Reference for Command Line Utilities, Parallels Plesk Panel 11.5 for Linux ( for example ) <=

The commands:

  1. /usr/local/psa/bin/subdomain -u example-subdomain-name -domain example-domain.com -ssl false
  2. /usr/local/psa/bin/subdomain -u example-subdomain-name -domain example-domain.com -certificate-name "New Certificate"
  3. /usr/local/psa/bin/subdomain -u example-subdomain-name -domain example-domain.com -ssl true
  1. will first disable SSL support for the subdomain "example-subdomain-name" at "example-domain.com"
  2. will assign the certificate with the name "New Certificate" for the subdomain "example-subdomain-name" at "example-domain.com"
  3. will enable SSL support for the subdomain "example-subdomain-name" at "example-domain.com"
  1. /usr/local/psa/bin/subscription -u example-domain.com -ssl false
  2. /usr/local/psa/bin/subscription -u example.com -certificate-name "Site Certificate"
  3. /usr/local/psa/bin/subscription -u example-domain.com -ssl true
  1. will first disable SSL support for the domain "example-domain.com"
  2. will assign the certificate with the name "New Certificate" for the domain "example-domain.com"
  3. will enable SSL support for the domain "example-domain.com"
As you can see, there is no need to fiddle with your database. ;)
 
Last edited by a moderator:
That doesn't do what we needed to do; We can enable and disable SSL fine and you can change certificates fine. What you can't do is set the certificate to "Not Selected". We need SSL to remain enabled (as there's an SSL at the IP level that should be used) so we need to remove the assigned certificate at the domain level, which can't be done if that option is missing.
 
Hi Enverex,

even that your solution results in the usage of the IP - specific certificate, you should be informed, that the regular usage is to ADD the desired certificate from your IP to the domain, to prevent issues/errors/failures, when new configuration files are created in case of patches/updates/upgrades. ;)
 
In this instance the user wanted a wildcard SSL certificate in place for multiple different hosting accounts, thus the only way to achieve this was to allocate the certificate to the IP and then the respective subscriptions that will use it, to that same IP.
 
Back
Top