SShortSingh.
Back to feed

CyberPanel SSL Renewals Can Show Success While Serving Expired Certificates

0
·1 views

A routine server check revealed that CyberPanel was reporting SSL renewals as successful while OpenLiteSpeed continued serving an outdated or staging certificate. The root cause was that CyberPanel's underlying tool, acme.sh, had been configured to use Let's Encrypt's staging CA instead of the production CA, meaning renewed certificates were not browser-trusted. Because CyberPanel simply reports acme.sh's exit status as success, the mismatch between reported and actual certificate state goes undetected without manual verification using tools like OpenSSL. The fix involved forcing acme.sh back to the production CA, dropping the staging registration, reissuing the certificate, and reloading OpenLiteSpeed. To prevent recurrence, the author developed two shell scripts that bypass CyberPanel's scheduler and handle both routine renewals and broken-certificate recovery independently.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How to Migrate .NET 8 APIs to .NET 10 Without Breaking Consumer Contracts

Microsoft has confirmed that .NET 8 and .NET 9 will reach end of support on November 10, 2026, making .NET 10 the recommended long-term support target for developers. Experts advise treating the upgrade as an API contract migration rather than a simple project-file change, since a service can compile and pass unit tests while still delivering altered JSON shapes, status codes, or authentication responses to consumers. The recommended approach separates the migration into three distinct phases: updating the SDK and target framework, refreshing NuGet dependencies, and updating runtime infrastructure, so failures are easier to isolate. Before retargeting, developers are urged to write focused contract tests covering observable HTTP behaviors such as status codes, content types, and required JSON fields using tools like xUnit and WebApplicationFactory. Microsoft provides an official .NET 10 WebApplicationFactory sample as a reference for test-host setup, and a published breaking-change catalog to guide developers beyond what compiler errors alone reveal.

0
ProgrammingDEV Community ·

How a Mixed Expo SDK 54/55 Package Mismatch Broke an Android Build

A developer's Android build failed after several Expo packages were individually upgraded to SDK 55-compatible versions while the core Expo SDK remained on version 54. The version mismatch went undetected because TypeScript checks passed and the development server ran normally, only surfacing during the native build step in EAS Build. Expo package version numbers do not directly mirror SDK numbers, making manual inspection of package.json unreliable for confirming compatibility. Running 'npx expo install --check' and 'npx expo-doctor' identified the mismatched packages, allowing the developer to downgrade them to the correct SDK 54-compatible versions. The developer now uses 'npx expo install' when adding managed packages and runs compatibility checks before every EAS Build to prevent similar issues.

0
ProgrammingDEV Community ·

Google Gemini's AI Trip Planner Integrates Flights, Hotels and Maps in One Tool

Google Gemini includes a built-in AI trip planner that combines itinerary creation with real-time flight and hotel data from Google Flights and Google Hotels. The feature allows users to describe their destination, travel duration and interests in natural language, and Gemini generates a customized schedule in response. Google Maps integration extends the tool's utility beyond planning, helping travelers navigate and discover points of interest during their trip. Google is actively promoting the capability, though it positions the tool as an existing part of the Gemini ecosystem rather than a new product launch. Notably, Gemini assists with research and planning but does not appear to complete bookings directly, so users should verify details before finalizing travel arrangements.

0
ProgrammingDEV Community ·

Microsoft's 45-Minute AI Research Agent Lab Offers Hands-On Copilot Experience

A developer completed Microsoft's Applied Skills lab titled 'Generate Reports with AI Research Agents,' spending roughly 45 minutes working through a hands-on exercise inside a pre-configured virtual machine. Unlike traditional certification exams, the lab guides users through building an AI-assisted reporting workflow using Microsoft 365 Copilot Chat and Research Agents. The agent follows a structured process — analyzing uploaded documents, extracting information, synthesizing findings, and producing a structured report — making the concept of AI agents more tangible than theoretical reading. No local setup is required, and participants earn an official Microsoft Applied Skills badge upon completion. The author recommends the lab as a practical, low-commitment starting point for those looking to explore AI agents in an enterprise workflow context.