|
@@ -172,7 +172,7 @@
|
|
|
//OK
|
|
|
listVdirs();
|
|
|
listSubd();
|
|
|
- msgbox("Proxy Endpoint Added");
|
|
|
+
|
|
|
|
|
|
//Clear old data
|
|
|
$("#rootname").val("");
|
|
@@ -185,10 +185,13 @@
|
|
|
confirmBox("Request new SSL Cert for this subdomain?", function(choice){
|
|
|
if (choice == true){
|
|
|
//Get a new cert using ACME
|
|
|
+ msgbox("Requesting certificate via Let's Encrypt");
|
|
|
console.log("Trying to get a new certificate via ACME");
|
|
|
obtainCertificate(rootname);
|
|
|
}
|
|
|
});
|
|
|
+ }else{
|
|
|
+ msgbox("Proxy Endpoint Added");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -498,16 +501,16 @@
|
|
|
// Show error message
|
|
|
msgbox(response.error, false, 12000);
|
|
|
} else {
|
|
|
- console.log("Certificate renewed successfully");
|
|
|
+ console.log("Certificate installed successfully");
|
|
|
// Show success message
|
|
|
- msgbox("Certificate renewed successfully");
|
|
|
+ msgbox("Certificate installed successfully");
|
|
|
|
|
|
// Renew the parent certificate list
|
|
|
initManagedDomainCertificateList();
|
|
|
}
|
|
|
},
|
|
|
error: function(error) {
|
|
|
- console.log("Failed to renewed certificate:", error);
|
|
|
+ console.log("Failed to install certificate:", error);
|
|
|
}
|
|
|
});
|
|
|
}
|