= 3) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "certificates" else -- update Configuration errorFlag, statusCode = x509.genSelfCert (inputTable) -- save db if no error if (errorFlag == "OK") then db.save() else NextPage = "certificates" end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or '' end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "cadelete") then local field, splitted, rows = web.cgiSearch(cgi, "cert") -- if any rows to delete if (rows) then errorFlag, statusCode = x509.trustedCACertDelete (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "selfdelete") then local field, splitted, rows = web.cgiSearch(cgi, "cert") -- if any rows to delete if (rows) then errorFlag, statusCode = x509.activeSelfCertDelete (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode,LANGUAGE) web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "scrdelete") then local field, splitted, rows = web.cgiSearch(cgi, "x509SelfCertReq") -- if any rows to delete if (rows) then errorFlag, statusCode = x509.selfCertDelete (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "crlDelete") then local field, splitted, rows = web.cgiSearch(cgi, "x509Crl") -- if any rows to delete if (rows) then errorFlag, statusCode = x509.crlCertDelete (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "crlupload") then local inputTable = web.cgiToLuaTable(cgi) -- upload CRL file errorFlag, statusCode = x509.uploadCRLCert(inputTable) -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "crlDelete") then local field, splitted, rows = web.cgiSearch(cgi, "x509Crl") -- if any rows to delete if (rows) then errorFlag, statusCode = x509.crlCertDelete (rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE)or statusCode web.goToPage(NextPage, true, true) else ?> $|COMPANY_NAME|$ $|PRODUCT_FAMILY|$ - Certificates
 
Certificates
 
IPv6
IPv4
 
 
$| statusMessage |$
Trusted Certificates (CA Certificate)
  CA Identity (Subject Name) Issuer Name Expiry Time
$| row["cert.subjectName"] |$ $| row["cert.issuerName"] |$ $| row["cert.expiryTime"] |$
Upload Trusted Certificate:
Trusted Certificate File:
Active Self Certificates
  Name Subject Name Serial Number Issuer Name Expiry Time
$| row["cert.name"] |$ $| row["cert.subjectName"] |$ $| row["cert.serialNumber"] |$ $| row["cert.issuerName"] |$ $| row["cert.expiryTime"] |$
Generate Self Certificate Request
Name:
Subject:
Hash Algorithm:
Signature Algorithm:
Signature Key Length:
IP Address (Optional):
.
.
.
Domain Name (Optional):
E-mail Address (Optional):
 
 
Self Certificate Requests
  Name Status Action
$| row["x509SelfCertReq.requestName"] |$ $|statusMsg|$
Upload certificate corresponding to a request above:
Certificate File:
Certificate Revocation Lists (CRL)
  CA Identity (Subject Name) Last Update Next Update
$| rowCrl["x509Crl.crlIdName"] or '' |$ $| rowCrl["x509Crl.crlLUpdate"] or '' |$ $| rowCrl["x509Crl.crlLNUpdate"] or '' |$
Upload CRL:
CRL File: