Skip to content

Commit cd5f473

Browse files
committed
Fix certificate sent to hypervisor was missing headers
1 parent 126ed86 commit cd5f473

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/org/apache/cloudstack/direct/download/DirectDownloadManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ public boolean uploadCertificateToHosts(String certificateCer, String alias, Str
395395
if (certificateVO != null) {
396396
throw new CloudRuntimeException("Certificate alias " + alias + " has been already created");
397397
}
398-
certificateVO = new DirectDownloadCertificateVO(alias, certificateCer, hypervisorType, zoneId);
398+
certificateVO = new DirectDownloadCertificateVO(alias, certificatePem, hypervisorType, zoneId);
399399
directDownloadCertificateDao.persist(certificateVO);
400400

401401
s_logger.info("Attempting to upload certificate: " + alias + " to " + hosts.size() + " hosts on zone " + zoneId);

0 commit comments

Comments
 (0)