The pkisilent may generate a NullPointerException if there's a connection problem. In ConfigureCA.java:234 if the hc.sslConnect() fails it will return a null instead of throwing an exception, so the next line will fail.
hr = hc.sslConnect(cs_hostname, cs_port, login_uri, query_string); System.out.println("xml returned: " + hr.getHTML());
One solution is to modify sslConnect() to throw an exception containing a message describing the problem.
master: 4880d86856d183d4ba3fb0291519353ac238af5d
Metadata Update from @edewata: - Issue assigned to edewata - Issue set to the milestone: Dogtag 10.0 - Phase 3
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/752
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.