<% if _SESSION["logined"] ~= nil then local filename = _POST["filename"] local filepath = _POST["filepath"] local bits = _POST["bits"] local country = _POST["country"] local state = _POST["state"] local locality = _POST["locality"] local organization = _POST["organization"] local unit = _POST["unit"] local certName = _POST["certName"] local email = _POST["email"] local password = _POST["password"] local retval = c_CreateSSLCertificate(filename,filepath,bits,country,state,locality,organization,unit,certName,email,password) if retval == true then print("1") c_AddAdminLog("administrator '".._SESSION["admin"].."' created ssl certificate ["..filename.."].",ADMIN_LOG_OK) else print("0") c_AddAdminLog("administrator '".._SESSION["admin"].."' created ssl certificate ["..filename.."] failed.",ADMIN_LOG_ERROR) end end %>