summaryrefslogtreecommitdiffstats
path: root/pki/base/console/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/console/src/com')
-rw-r--r--pki/base/console/src/com/netscape/admin/certsrv/config/UserCertsTab.java2
-rw-r--r--pki/base/console/src/com/netscape/admin/certsrv/connection/AdminConnection.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/pki/base/console/src/com/netscape/admin/certsrv/config/UserCertsTab.java b/pki/base/console/src/com/netscape/admin/certsrv/config/UserCertsTab.java
index 4de04abdf..e5fc28135 100644
--- a/pki/base/console/src/com/netscape/admin/certsrv/config/UserCertsTab.java
+++ b/pki/base/console/src/com/netscape/admin/certsrv/config/UserCertsTab.java
@@ -126,7 +126,7 @@ public class UserCertsTab extends CMSBaseUGTab {
nvps.add(Constants.PR_NICK_NAME, nickname);
nvps.add(Constants.PR_SERIAL_NUMBER, serialno);
nvps.add(Constants.PR_ISSUER_NAME, issuername);
- NameValuePairs results = mConnection.process(
+ NameValuePairs results = mConnection.read(
DestDef.DEST_SERVER_ADMIN, ScopeDef.SC_CERT_PRETTY_PRINT,
Constants.RS_ID_CONFIG, nvps);
if (nvps.size() <= 0)
diff --git a/pki/base/console/src/com/netscape/admin/certsrv/connection/AdminConnection.java b/pki/base/console/src/com/netscape/admin/certsrv/connection/AdminConnection.java
index db31aa09e..7539c393c 100644
--- a/pki/base/console/src/com/netscape/admin/certsrv/connection/AdminConnection.java
+++ b/pki/base/console/src/com/netscape/admin/certsrv/connection/AdminConnection.java
@@ -467,7 +467,7 @@ public class AdminConnection {
request.set(Constants.RS_ID, id);
for (int i = 0; i < pairs.size(); i++) {
NameValuePair p = (NameValuePair)pairs.elementAt(i);
- request.set(p.getName(), "");
+ request.set(p.getName(), p.getValue());
}
Response response = sendRequest(request);