<BUG>String cert = URLDecoder.decode(certCmd.getCert(), "UTF-8");String key = URLDecoder.decode(certCmd.getKey(), "UTF-8");String password = certCmd.getPassword();String chain = certCmd.getChain() == null ? null : URLDecoder.decode(certCmd.getChain(), "UTF-8");validate(cert, key, password, chain);</BUG><CONTEXT>@DB@Override@ActionEvent(eventType = EventTypes.EVENT_LB_CERT_UPLOAD, eventDescription = "Uploading a certificate to cloudstack", async = false)public SslCertResponse uploadSslCert(UploadSslCertCmd certCmd) {try {<extra_id_0>s_logger.debug("Certificate Validation succeeded");</CONTEXT>
String cert = certCmd.getCert();String key = certCmd.getKey();String chain = certCmd.getChain();validate(cert, key, password, chain);