The DefaultHttpClient has been deprecated but it's still used in several places. It should be replaced with the following code:
try (CloseableHttpClient httpClient = HttpClientBuilder.create().build()) { ... }
See also http://stackoverflow.com/questions/15336477/deprecated-java-httpclient-how-hard-can-it-be.
Per PKI Bug Council of 11/03/2016: 10.4
Fixed in master:
The remaining task is to replace DefaultHttpClient in PKIConnection.java.
The patch has been reverted due to build issue on RHEL/CentOS:
Apparently httpcomponents-client is different on different platforms:
Metadata Update from @edewata: - Issue set to the milestone: UNTRIAGED
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2651
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.