Bug 1386371 - Remove xenroll.dll from pki-core
Summary: Remove xenroll.dll from pki-core
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Jack Magne
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 19:19 UTC by Nathan Kinder
Modified: 2020-10-04 21:18 UTC (History)
4 users (show)

Fixed In Version: pki-core-10.4.0-1.el7
Doc Type: No Doc Update
Doc Text:
This is a problem that a person would have to launch a detailed search to even find. Most won't care that it's been fixed.
Clone Of:
Environment:
Last Closed: 2017-08-01 22:48:25 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki issues 2644 0 None None None 2020-10-04 21:18:24 UTC
Red Hat Product Errata RHBA-2017:2110 0 normal SHIPPED_LIVE pki-core bug fix and enhancement update 2017-08-01 19:36:59 UTC

Description Nathan Kinder 2016-10-18 19:19:22 UTC
The PKI packages used by IdM include a DLL for browser-based certificate enrollment on Windows clients called xenroll.dll.  This is a deprecated DLL that was removed in Vista and later Windows systems, but we still used it for enrollment (and carried it in our packages).  We have already moved our PKI packages over to be able to use the replacement that is provided in Windows itself (certenroll.dll).  We should remove xenroll.dll from our packages since it is no longer needed.

Comment 1 Matthew Harmsen 2016-10-18 21:12:58 UTC
# for rpm in `rpm -qa | grep pki`; do
> echo $rpm
> rpm -ql $rpm | grep xenroll.dll
> done
redhat-pki-server-theme-10.3.3-1.el7.noarch
pki-tools-10.3.3-10.el7.x86_64
pki-base-10.3.3-10.el7.noarch
pki-server-10.3.3-10.el7.noarch
pki-base-java-10.3.3-10.el7.noarch
pki-ca-10.3.3-10.el7.noarch
/usr/share/pki/ca/webapps/ca/agent/xenroll.dll
tomcatjss-7.1.2-3.el7pki.noarch

# find . -name xenroll.dll
./base/ca/shared/webapps/ca/agent/xenroll.dll

# grep -ri xenroll.dll
Binary file .git/index matches
base/ca/shared/webapps/ca/admin/ca/EnrollSuccess.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/admin/ca/ImportAdminCert.template:    codebase="xenroll.dll"
base/ca/shared/webapps/ca/admin/ca/ImportCert.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/admin/ca/ImportCert.template:    document.writeln("<OBJECT classid='clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1' CODEBASE='/xenroll.dll' id='Enroll'></OBJECT>");
base/ca/shared/webapps/ca/admin/ca/adminEnroll.html:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/agent/ca/EnrollSuccess.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/agent/ca/ImportCert.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/agent/ca/ImportCert.template:    document.writeln("<OBJECT classid='clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1' CODEBASE='/xenroll.dll' id='Enroll'></OBJECT>");
base/ca/shared/webapps/ca/agent/ca/displayBySerial.template:	CODEBASE="/xenroll.dll"
Binary file base/ca/shared/webapps/ca/agent/xenroll.dll matches
base/ca/shared/webapps/ca/ee/ca/AIMEnroll.html:	CODEBASE="/ee/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/CertBasedDualEnroll.html:	CODEBASE="/ee/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/CertBasedEncryptionEnroll.html:	CODEBASE="/ee/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/CertBasedSingleEnroll.html:	CODEBASE="/ee/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/DirPinUserEnroll.html:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/DirUserEnroll.html:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/EnrollSuccess.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/ImportAdminCert.template:    codebase="xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/ImportCert.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/ImportCert.template:    document.writeln("<OBJECT classid='clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1' CODEBASE='/xenroll.dll' id='Enroll'></OBJECT>");
base/ca/shared/webapps/ca/ee/ca/ManObjSignEnroll.html:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/ManUserEnroll.html:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/PortalEnrollment.html:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/ProfileSelect.template:      document.writeln("<OBJECT classid='clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1' CODEBASE='/xenroll.dll' id='Enroll'></OBJECT>");
base/ca/shared/webapps/ca/ee/ca/RenewalSuccess.template:	CODEBASE="/xenroll.dll"
base/ca/shared/webapps/ca/ee/ca/displayBySerial.template:	CODEBASE="/xenroll.dll"
base/server/share/webapps/pki/admin/console/config/wizard.vm:    codebase="xenroll.dll"

Comment 2 Matthew Harmsen 2016-10-18 21:16:08 UTC
Upstream ticket:
https://fedorahosted.org/pki/ticket/2524

Comment 3 Matthew Harmsen 2016-11-29 23:44:14 UTC
Per PKI Bug Council of 11/29/2016: 10.3 - critical

Comment 4 Matthew Harmsen 2016-11-30 00:25:47 UTC
arubin provided ZStream request flag; justification is provided in the Bug Description.

Comment 5 Matthew Harmsen 2016-12-10 00:38:17 UTC
Committed to master branch:

commit 6cf7cec3c559786b90dcca298a2d7c6c570eac35
Author: Matthew Harmsen <mharmsen>
Date:   Fri Dec 9 15:29:50 2016 -0700

    Removed all references to 'xenroll.dll'
    
    - PKI TRAC Ticket #2524 - Remove xenroll.dll from pki-core

Comment 8 Sumedh Sidhaye 2017-05-03 11:40:15 UTC
Build used:

[root@pki1 ~]# rpm -qi pki-core
package pki-core is not installed
[root@pki1 ~]# rpm -qi pki-base
Name        : pki-base
Version     : 10.4.1
Release     : 2.el7
Architecture: noarch
Install Date: Tuesday 02 May 2017 10:07:35 AM EDT
Group       : System Environment/Base
Size        : 2082927
License     : GPLv2
Signature   : RSA/SHA256, Tuesday 18 April 2017 08:37:55 PM EDT, Key ID 199e2f91fd431d51
Source RPM  : pki-core-10.4.1-2.el7.src.rpm
Build Date  : Tuesday 18 April 2017 08:09:41 PM EDT
Build Host  : ppc-041.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://pki.fedoraproject.org/


[root@pki1 ~]# for rpm in `rpm -qa | grep pki`; do
> echo $rpm
> rpm -ql $rpm | grep xenroll.dll
> done
pki-kra-10.4.1-2.el7.noarch
pki-tps-10.4.1-2.el7pki.x86_64
pki-base-10.4.1-2.el7.noarch
redhat-pki-server-theme-10.4.1-1.el7pki.noarch
pki-tools-10.4.1-2.el7.x86_64
pki-server-10.4.1-2.el7.noarch
pki-javadoc-10.4.1-2.el7.noarch
redhat-pki-console-theme-10.4.1-1.el7pki.noarch
pki-tks-10.4.1-2.el7pki.noarch
pki-ocsp-10.4.1-2.el7pki.noarch
pki-ca-10.4.1-2.el7.noarch
pki-core-debuginfo-10.4.1-2.el7.x86_64
redhat-pki-10.4.1-1.el7pki.noarch
pki-console-10.4.1-2.el7pki.noarch
pki-base-java-10.4.1-2.el7.noarch
pki-symkey-10.4.1-2.el7.x86_64

[root@pki1 ~]# find / -name xenroll.dll
[root@pki1 ~]# 


[root@pki1 ~]# grep -ri xenroll.dll
[root@pki1 ~]#

Comment 9 errata-xmlrpc 2017-08-01 22:48:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2110


Note You need to log in before you can comment on or make changes to this bug.