|
|
|
@ -22,9 +22,6 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
function handleKeyFile(element) {
|
|
|
|
|
keyFileContent = element.target.result;
|
|
|
|
|
|
|
|
|
|
console.log(keyFileContent);
|
|
|
|
|
// TODO: Add keyfile to embedded server config using forge
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Retrieve zip file with post
|
|
|
|
@ -33,7 +30,6 @@ $(function () {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function handleZipResult(data) {
|
|
|
|
|
//var blob = new Blob(data, {type: 'application/zip'});
|
|
|
|
|
var blobUrl = URL.createObjectURL(data);
|
|
|
|
|
saveBlobUrl(blobUrl, 'config.zip');
|
|
|
|
|
}
|
|
|
|
@ -121,11 +117,6 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
buildConfigZip.on('click', submitCertificateForm);
|
|
|
|
|
|
|
|
|
|
// Load content of embedded server config
|
|
|
|
|
// Put keyfile content in embedded server config if it is not null
|
|
|
|
|
// If the decrypt key checkbox is checked, attempt to decrypt the private key in the embedded server config
|
|
|
|
|
// Offer the decrypted server config up as a file
|
|
|
|
|
|
|
|
|
|
keyLocationContainer.on('show', function () {
|
|
|
|
|
decryptKeyCheckboxContainer.show();
|
|
|
|
|
});
|
|
|
|
|