{"id":267,"date":"2014-04-30T20:43:51","date_gmt":"2014-04-30T20:43:51","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=267"},"modified":"2014-04-30T20:43:51","modified_gmt":"2014-04-30T20:43:51","slug":"remove-ssl-default-cert-on-plesk-11-0-9","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/04\/30\/remove-ssl-default-cert-on-plesk-11-0-9\/","title":{"rendered":"Remove SSL default Cert on Plesk 11.0.9"},"content":{"rendered":"<p>Log into mysql.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nmysql -uadmin -p`cat \/etc\/psa\/.psa.shadow`\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nmysql&gt; select dom_id,certificate_id from hosting where dom_id=13;\n+--------+----------------+\n| dom_id | certificate_id |\n+--------+----------------+\n| 13 | 0 |\n+--------+----------------+\n1 row in set (0.00 sec)\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nmysql&gt; SELECT * FROM IP_Addresses;\n+----+---------------+-------------+---------------+-------+--------------------+-------------------+-------+------+--------+\n| id | serviceNodeId | ip_address | mask | iface | ssl_certificate_id | default_domain_id | ftps | main | status |\n+----+---------------+-------------+---------------+-------+--------------------+-------------------+-------+------+--------+\n| 1 | 1 | 192.168.0.3 | 255.255.255.0 | eth0 | 2 | 0 | false | true | 0 |\n+----+---------------+-------------+---------------+-------+--------------------+-------------------+-------+------+--------+\n1 row in set (0.00 sec)\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nmysql&gt; UPDATE IP_Addresses SET ssl_certificate_id = 0;\nQuery OK, 1 row affected (0.00 sec)\nRows matched: 1 Changed: 1 Warnings: 0\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nmysql&gt; SELECT id, name FROM certificates;\n+----+---------------------+\n| id | name |\n+----+---------------------+\n| 1 | |\n| 2 | default certificate |\n| 3 | default certificate |\n+----+---------------------+\n3 rows in set (0.00 sec)\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nmysql&gt; quit\nBye\n\n<\/pre>\n<p>Reconfigure<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n&#x5B;root@DS29440 ~]# \/usr\/local\/psa\/admin\/sbin\/httpdmng --reconfigure-all\n\n<\/pre>\n<p>Restart Apache<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n&#x5B;root@DS29440 ~]# service httpd restart\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Log into mysql. mysql -uadmin -p`cat \/etc\/psa\/.psa.shadow` mysql&gt; select dom_id,certificate_id from hosting where dom_id=13; +&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;-+ | dom_id | certificate_id | +&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;-+ | 13 | 0 | +&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;-+ 1 row in set (0.00 sec) mysql&gt; SELECT * FROM IP_Addresses; +&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;-+&#8212;&#8212;+&#8212;&#8212;&#8211;+ | id | serviceNodeId | ip_address | mask | iface | ssl_certificate_id | default_domain_id | ftps &#8230; <a title=\"Remove SSL default Cert on Plesk 11.0.9\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/04\/30\/remove-ssl-default-cert-on-plesk-11-0-9\/\" aria-label=\"Read more about Remove SSL default Cert on Plesk 11.0.9\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70,86],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","hentry","category-mysql","category-plesk"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}