hParams.append('last_timestamp', lastCertTimestamp);

            fetch(url)
                .then(response => response.json())
                .then(data => {
                    if (data.items && data.items.length > 0) {
                        appendCertificates(data.items);
                        lastCertId = data.last_id;
                        lastCertTimestamp = data.last_timestamp;

                        console.log('Updated lastCertId:', lastCertId);
                        console.log('Updated