Commit 878f20f5 authored by Jeff Burke's avatar Jeff Burke
Browse files

s1849: fix url path to cert.

parent 831fd7dd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -198,9 +198,11 @@ public class CredClient
                path.append("?daysValid=").append(String.valueOf(daysValid));
            }

            LOGGER.debug("serviceID: " + this.serviceID);
            URL credUrl = getRegistryClient()
                .getServiceURL(this.serviceID, Standards.CRED_PROXY_10, AuthMethod.CERT);
            URL url = new URL(credUrl.toExternalForm() + "/" + path.toString());
            LOGGER.debug("credUrl is null: " + (credUrl == null));
            URL url = new URL(credUrl.toExternalForm() + path.toString());
            LOGGER.debug("getCertficate: " + url.toString());
            return downloadCertificate(url);
        }