mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 5190: a part of the enhancement is complete; now we can upload a custom cert using a file from our local machine, into the system. It is stored in the certificate table as a "text" column
This commit is contained in:
parent
1bb4eeafd9
commit
e5186bde2b
@ -89,6 +89,7 @@
|
||||
<dao name="UserAccount" class="com.cloud.user.dao.UserAccountDaoImpl"/>
|
||||
<dao name="VM Template Host" class="com.cloud.storage.dao.VMTemplateHostDaoImpl"/>
|
||||
<dao name="Upload" class="com.cloud.storage.dao.UploadDaoImpl"/>
|
||||
<dao name="Certificate" class="com.cloud.certificate.dao.CertificateDaoImpl"/>
|
||||
<dao name="VM Template Pool" class="com.cloud.storage.dao.VMTemplatePoolDaoImpl"/>
|
||||
<dao name="VM Template Zone" class="com.cloud.storage.dao.VMTemplateZoneDaoImpl"/>
|
||||
<dao name="Launch Permission" class="com.cloud.storage.dao.LaunchPermissionDaoImpl"/>
|
||||
|
||||
@ -38,7 +38,7 @@ public class CertificateVO {
|
||||
@Column(name="id")
|
||||
private Long id = null;
|
||||
|
||||
@Column(name="certificate")
|
||||
@Column(name="certificate",length=65535)
|
||||
private String certificate;
|
||||
|
||||
public CertificateVO() {}
|
||||
|
||||
@ -9115,7 +9115,7 @@ public class ManagementServerImpl implements ManagementServer {
|
||||
@Override
|
||||
public boolean updateCertificate(String certificatePath)
|
||||
{
|
||||
return _certDao.persistCustomCertToDb(certificatePath );
|
||||
return _certDao.persistCustomCertToDb(certificatePath);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user