mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7952: Remove private key from SslCertResponse (listSslCerts)
Signed-off-by: Will Stevens <wstevens@cloudops.com>
This commit is contained in:
parent
4ff3130bec
commit
8ea7902075
@ -40,10 +40,6 @@ public class SslCertResponse extends BaseResponse {
|
||||
@Param(description = "certificate")
|
||||
private String certificate;
|
||||
|
||||
@SerializedName(ApiConstants.PRIVATE_KEY)
|
||||
@Param(description = "private key")
|
||||
private String privatekey;
|
||||
|
||||
@SerializedName(ApiConstants.ACCOUNT)
|
||||
@Param(description = "account for the certificate")
|
||||
private String accountName;
|
||||
@ -87,10 +83,6 @@ public class SslCertResponse extends BaseResponse {
|
||||
this.certificate = cert;
|
||||
}
|
||||
|
||||
public void setPrivatekey(String key) {
|
||||
this.privatekey = key;
|
||||
}
|
||||
|
||||
public void setAccountName(String accountName) {
|
||||
this.accountName = accountName;
|
||||
}
|
||||
|
||||
@ -320,7 +320,6 @@ public class CertServiceImpl implements CertService {
|
||||
response.setObjectName("sslcert");
|
||||
response.setId(cert.getUuid());
|
||||
response.setCertificate(cert.getCertificate());
|
||||
response.setPrivatekey(cert.getKey());
|
||||
response.setFingerprint(cert.getFingerPrint());
|
||||
|
||||
if (cert.getChain() != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user