diff --git a/magnum_ui/static/dashboard/container-infra/clusters/show-certificate/show-certificate.service.js b/magnum_ui/static/dashboard/container-infra/clusters/show-certificate/show-certificate.service.js index aef3e8d9..e84f9b92 100644 --- a/magnum_ui/static/dashboard/container-infra/clusters/show-certificate/show-certificate.service.js +++ b/magnum_ui/static/dashboard/container-infra/clusters/show-certificate/show-certificate.service.js @@ -52,7 +52,7 @@ function perform(selected) { // get certificate return magnum.showCertificate(selected.id).then(function(response) { - textDownload.downloadTextFile(response.pem, selected.name + "_ca.pem"); + textDownload.downloadTextFile(response.data.pem, selected.name + "_ca.pem"); }); }