https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162014-12-26T15:33:30ZpfSense bugtrackerpfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=163132014-12-26T15:33:30ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Target version</strong> changed from <i>2.2</i> to <i>2.2.1</i></li><li><strong>Affected Version</strong> changed from <i>2.1.5</i> to <i>All</i></li></ul> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=167312015-01-16T00:37:15ZJim Thompsonjim@netgate.com
<ul><li><strong>Assignee</strong> set to <i>Renato Botelho</i></li></ul> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=170312015-01-28T22:58:08ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Target version</strong> changed from <i>2.2.1</i> to <i>2.2.2</i></li></ul> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=179932015-04-02T16:36:47ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Target version</strong> changed from <i>2.2.2</i> to <i>2.2.3</i></li></ul> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=185922015-06-01T18:31:51ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Subject</strong> changed from <i>certificatemanager, certificates that are in use can be deleted</i> to <i>certificate manager certificates that are in use by packages can be deleted</i></li><li><strong>Target version</strong> changed from <i>2.2.3</i> to <i>2.3</i></li></ul> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=241322016-01-15T11:10:14ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Do not allow certificate to be deleted if it's been used by a package. Fixes #4142" href="https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/29e6a815c9b9a3b81f7628873e08bd8d8c499bee">29e6a815c9b9a3b81f7628873e08bd8d8c499bee</a>.</p> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=241652016-01-16T09:55:36ZPi Ba
<ul></ul><p>Thanks, change works regarding hiding the delete button when a package uses the 'plugin_certificates' function to report used certificates.</p>
<p>With regard to 'speed' it might improve performance to 'cache' the $certificates_used_by_packages variable during building the certificate page if users have a lot of certificates there. Currently its calling every package again and again for every certificate, while the package returns all used certificates in a array every time. (I havent tested how many packages & certificates & package configuration are needed before having a noticeable effect.)</p>
<p>It would be nice to show which packages are using the certificate though. As currently the 'In Use' column can be empty while the delete button is hidden. Depending on the number of packages installed and if someone is taking over a preexisting configuration that would help them find the right location. Perhaps even use the 'usedby' attribute to show additional information provided by the package in a popup window?</p> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=242522016-01-21T06:42:28ZRenato Botelhorenato@netgate.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Assigned</i></li><li><strong>Assignee</strong> changed from <i>Renato Botelho</i> to <i>Anonymous</i></li></ul><p>The part of <a class="external" href="https://github.com/pfsense/pfsense/pull/1081">https://github.com/pfsense/pfsense/pull/1081</a> that added the information about what packages are using that certificate was lost during bootstrap integration, moving to Steve to check best way to show this information</p> pfSense - Bug #4142: certificate manager certificates that are in use by packages can be deletedhttps://redmine.pfsense.org/issues/4142?journal_id=244602016-01-26T08:06:32ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li><li><strong>Assignee</strong> deleted (<del><i>Anonymous</i></del>)</li></ul><p>Lost functionality has been restored and tested by Renato :)</p>