How to Install SSL Certificate in XAMPP For Local Development?

How to Install SSL Certificate in XAMPP
  • 5 min. read
  • Jun 27th, 2025
  • Technology

Setting up SSL in XAMPP ensures your local development environment mimics real-world, secure HTTPS deployments. Learning how to install SSL certificate in XAMPP is a key step to building secure web applications in a local environment. This isn’t just a best practice but often a prerequisite for enabling critical functionalities. Without HTTPS, many modern web features such as APIs, service workers, and secure cookies won’t function as intended, even in a local environment. 

With this guide, you’ll set up HTTPS using either OpenSSL or the easier and trusted mkcert utility, ensuring your development mirrors real-world conditions.

Step-by-Step Guide on How to Install SSL Certificate in XAMPP

There are two straightforward ways to get SSL running in your local XAMPP setup, using the built-in OpenSSL utility or the more user-friendly mkcert tool. Both approaches help you simulate a secure environment for development.

Using OpenSSL utility

Step 1: Create a minimal config file

Step 2: Generate the private key and certificate using the minimal config file

Step 3: Configure Apache to use the certificate

Step 4: Review SSL configuration

Step 5: Verify Apache configuration and check for syntax errors

Step 6: Restart Apache

Using mkcert utility (Recommended)

Step 1: Install mkcert by following the instructions here

Step 2: Generate the certificates

Step 3: Configure Apache to use the generated certificates

Step 4: Review and verify Apache configuration

Step 5: Restart Apache

There are a few browser APIs that require the web page to run in a secure context. For that, we need SSL. Here is how we can configure SSL for Apache in XAMPP. There are two ways to configure the SSL - either using openssl or mkcert

Using OpenSSL utility

This method works properly. However, you won’t be able to see the green padlock icon even after following the steps below. This is intended behavior. To get a green padlock without warnings, you need to add your certificate to the trusted root certificate authorities.

Step 1: Create a minimal config file

Create a new file named openssl_minimal.cnf and add the following content:

Create_a_minimal_config_file

Make sure to replace the placeholder variables with actual values

Save this file in a convenient location, such as C:\xampp\apache\conf\openssl_minimal.cnf

Step 2: Generate the private key and certificate using the minimal config file

2.1 Open terminal and navigate to the OpenSSL directory.

apache_bin

 2.2 Generate a private key. The following command will generate a private key name private.key . Feel free to use any name of your choice.

Generate_a_private_key

2.3 Create a Certificate Signing Request (CSR) file using the minimal config file created earlier. The output file name can be customized.

Certificate_Signing_Request_(CSR)_file

2.4 Generate a self-signed certificate file using the minimal config file. The parameters can be customized.

self_signed_certificate_file

Step 3: Configure Apache to use the certificate

3.1 Copy the generated files to a convenient location inside the Apache folder.

Copy_ generated_files

3.2 Open the httpd-ssl.conf file located in xampp\apache\conf\extra and update the paths.

Configure_apache

The paths are relative to the Apache installation folder.

3.3 Ensure that the following lines are un-commented in the httpd.conf file.

httpd.conf_file

Step 4: Review SSL configuration

Review the VirtualHost setup in the SSL configuration file. Here is a sample of what it might look like.

Review_SSL_configuration

Step 5: Verify Apache configuration and check for syntax errors

5.1 Navigate to xampp\apache\bin

apache_bin

5.2 Check for syntax and other configuration errors using the following command

httpd.exe-t

5.3 If everything is correct you would get the message Syntax OK

Step 6: Restart Apache

Use the XAMPP control panel to restart Apache. Now try accessing localhost via HTTPS. The browser might show a warning about the certificate being self-signed. You may ignore the warning and proceed.

Using mkcert utility (Recommended)

mkcert is a tool to make trusted certificates for local development without any configuration.

Step 1: Install mkcert 

To get started with, first install mkcert by following the instructions here.

Once mkcert is set up, run the below command to install the trusted root store.

Install_mkcert

Step 2: Generate the certificates

mkcert_localhost

The above command will generate two files - localhost.pem and localhost-key.pem

Step 3: Configure Apache to use the generated certificates

3.1 Copy the generated files to a convenient location inside the Apache folder.

copy_the_generated_files_Apache_folder

3.2 Update the httpd-ssl.conf file located in C:\xampp\apache\conf\extra

SSLCertificateFile_Apache

Step 4: Review and verify Apache configuration

Review and verify the Apache configuration using the steps mentioned above (Step 4 and Step 5 of OpenSSL installation).

Step 5: Restart Apache

Restart Apache, and you are good to go. When opened in the browser, the green padlock icon will be visible.

Summing It Up

Now you have two reliable methods to set up HTTPS in your local environment: OpenSSL for a manual approach and mkcert for a quicker, trusted solution. Understanding how to install SSL certificate in XAMPP localhost not only helps you avoid browser security warnings but also ensures that your development environment aligns with modern web standards. 

Secure by default is now the new norm, and that applies to local development too, especially for APIs and full-stack work.


Tags

  • Install SSL Certificate
  • XAMPP
  • Local Development
  • Configure SSL

Related Blogs

sundew

Blog

Revolutionizing Business Workflow Automation with RPA

Imagine a workplace where tedious, repetitive tasks are no longer a drain on your team’s time and energy. With business workflow automation, this vision becomes a reality. But how does it work?Often implemented through Robotic Process Automation (RPA), this technology has revolutionized the way organizations operate. By automating routine processes, RPA empowers businesses to optimize workflows, reduce errors, and maximize productivity without overburdening employees.This enables businesses to redirect valuable human resources toward strategic, high-value initiatives.Curious about how your enterprise can unlock this potential? Keep reading to discover the key processes that can be automated with RPA, the steps to implement, and the benefits it brings.The Role of RPA in Business Workflow AutomationRobotic Process Automation (RPA) applies artificial intelligence (AI) and machine learning (ML) to automate repetitive, rule-based tasks previously handled by humans. These software robots, or “bots,” interact with systems and applications as humans do, retrieving data, processing information, and completing tasks with precision and speed.Think of RPA as your organization's tireless digital workforce, operating 24/7 accurately. It is becoming a critical weapon for companies seeking to boost efficiency and stay ahead of the competition.Powered by artificial intelligence (AI) and machine learning (ML), it transcends simple automation to create secure and scalable workflows. It also acts as a guardrail for practical AI usage within larger orchestration platforms.Why RPA Matters: Key Advantages in Business OperationsSo, why are businesses increasingly adopting RPA? The answer is simple: the significant advantages it offers.For companies looking to stay competitive, RPA has become an indispensable asset. It is gaining a lot of momentum across modern organizations and diverse industries, simplifying the way they approach their business processes in the following ways: Enhanced Productivity and Resource AllocationAutomating repetitive business processes frees employees from mundane responsibilities, allowing them to concentrate on more valuable work. This shift not only boosts overall productivity but also increases job satisfaction and employee engagement while ensuring optimal use of resources.Improved Accuracy Manual processes are often prone to human error. RPA minimizes these mistakes by executing tasks consistently and precisely, enhancing data accuracy, compliance, and quality control across the board.Cost Optimization and Increased EfficiencyRPA minimizes the need for manual work, leading to reduced operational costs. Organizations can redirect resources toward strategic initiatives, streamline workflows, and realize substantial efficiency gains.Scalability and FlexibilityRPA equips businesses to scale operations swiftly, adapting to fluctuating workloads, seasonal demands, and evolving market conditions. This technology offers the agility to respond to changing business needs, ensuring a competitive edge.Enhanced Customer ExperienceEnterprises relying on RPA can provide superior customer experiences with faster response times, personalized interactions, and streamlined processes. Automating customer service tasks, such as email replies and chatbot interactions, enables businesses to deliver prompt and efficient support.Where can RPA be used to automate business workflows?Organizations across all industries stand to gain from the transformative power of workflow automation, streamlining operations, and driving efficiency. To highlight its versatility, here are some business workflow automation examples showcasing how workflow automation can be applied across various industries and departments:HealthcareWorkflow automation is significantly impacting the healthcare industry by simplifying complex, time-consuming tasks. Medical providers can leverage RPA tools to create staff schedules and manage on-call rotations seamlessly. They also streamline critical processes like patient admissions, discharges, and the transfer of electronic health records. By automating these routine tasks, healthcare workers can dedicate more time and energy to focus on their core responsibility, delivering high-quality patient care.Human ResourcesAutomation is revolutionizing HR by simplifying processes like timesheet approvals, personnel management, and employee onboarding. Processes like onboarding, often bogged down by repetitive administrative tasks, become seamless with Robotic Process Automation (RPA).RPA can generate and send offer letters, trigger workflows when new accounts are created, and digitize employee paperwork with electronic capture systems. This eliminates manual effort, significantly reducing onboarding time—sometimes by as much as tenfold—while improving efficiency and making life easier for HR teams.Similarly, payroll processing, a traditionally tedious task, benefits greatly from automation. RPA bots can standardize and automate tasks such as calculating salaries, overtime, commissions, bonuses, deductions, and expenses. Instead of manually reviewing spreadsheets or writing checks, a well-designed bot handles payments with accuracy and speed.Finance and BankingIn the finance and banking sector, workflow automation is a powerful tool for streamlining operations and improving accuracy. Financial institutions and enterprise finance teams use automation to handle tasks like data entry and account approvals effortlessly. It also simplifies internal processes such as managing paid time off requests and processing salary adjustments, saving time and reducing errors while enhancing efficiency across the board.Insurance and Home WarrantyInsurance involves a lot of paperwork that can be unloaded from the human workforce and sped up using RPA, riding on the trend of hyper-automation in the industry.When paired with AI and ML, RPA streamlines several complex and repetitive processes in the insurance and home warranty sector, such as:Policy Management: RPA automates contract generation, policy updates, renewals, and reminders, offering a smoother experience for policyholders while reducing administrative tasks.Claims Management: Insurers can handle policy claims faster with automated data extraction with OCR, aggregating information, verifying claims, and detecting fraud. Underwriting: RPA pulls and verifies customer data, flags suspicious applications, and calculates policy rates for standard cases, speeding up the underwriting process and improving accuracy.Information TechnologyIn IT, automation is a key enabler that supports DevOps teams and streamlines various processes. From automating software development pipelines and code testing to managing data collection, service requests, and new account setups, automation boosts efficiency across the board. Workflow automation examples in IT include using RPA to automate the testing of a new e-commerce app. This accelerates development cycles and ensures faster, more reliable product launches.Customer ServiceBusiness workflow automation in customer service speeds up ticket resolution and repetitive tasks like data entry, freeing up the workforce while improving customer experience.For example, instead of manually filling out customer profiles, businesses now use RPA to automatically gather and update data, ensuring accuracy and saving time.When launching an e-commerce website, for instance, businesses can integrate RPA to automate tasks like order tracking, processing returns, and handling customer inquiries. By instantly updating order statuses, addressing customer concerns, and managing returns, RPA enables faster response times. This leads to more efficient operations and significantly enhances the overall customer experience.Sales and MarketingSales and marketing teams can use RPA to automate proposal approvals, connect salespeople with website leads, and generate task lists for scheduled meetings.Another crucial part of sales workflows is invoice processing, which can also be automated with RPA. Manual invoice handling involves dealing with various file formats and attachments and can be time-consuming. With RPA, invoices are processed automatically, extracting and organizing data without human input. This streamlines the process, reducing errors and freeing up resources for more strategic tasks.7 Key Steps to Automate Business Workflows Successfully Implementing business workflow automation is a strategic process that can transform your business operations. But, success lies in following a structured approach. Here’s a step-by-step guide to help you navigate the journey:1. Pinpoint Automation OpportunitiesTake a closer look at your operations to identify bottlenecks. Focus on repetitive, manual tasks prone to errors or inefficiency. Prioritize high-impact processes that consume significant time and resources.2. Break Down the ProcessMap out every step of the process you plan to automate. Understand how tasks flow, where delays occur, and how information is transferred. This clarity is essential for designing an efficient automated workflow.3. Set Business GoalsWhat does success look like for your organization? Define clear goals, whether it’s:reducing costsboosting productivityeliminating errors improving speedThese objectives will shape your automation strategy.4. Choose the Right ToolsNot all workflow business workflow automation tools are created equal. Research options that fit your needs, considering scalability, features, and integrations. Select the workflow automation software that aligns with your goals and budget, ensuring it can grow with your business.5. Roll Out and Educate Your TeamIntroduce the automation tool with a well-thought-out implementation plan. Equip your team with training sessions and resources to familiarize them with the software. Encourage open communication to address any concerns and foster adoption.6. Measure Performance and RefineOnce workflows are automated, monitor them using key performance indicators (KPIs). Analyze metrics like time savings, error reduction, and ROI to determine whether the automation meets your goals. Use these insights to tweak and optimize workflows.7. Focus on Continuous ImprovementAutomation isn’t a one-and-done process. Regularly review workflows, gather feedback from employees, and make adjustments to enhance efficiency. Stay agile to adapt to new challenges and evolving business needs.Future OutlookRPA has come a long way. It is here to stay and, more so, within the wider scope of AI and combined with other complementary emerging technologies, like Gen AI. According to a recent Statista report, the robotic process automation software market was valued at $3.7 billion in 2022. With a projected compound annual growth rate (CAGR) of 36.6% over the next decade, the market is set to surge to an impressive $81.8 billion by 2032. This rapid growth highlights the increasing demand for automation technologies as businesses look for more efficient ways to streamline operations and improve productivity.Partnering with Sundew for your business workflow automation journey sets you up for success. With our RPA expertise and a forward-thinking mindset, we offer comprehensive services, from initial consultation to workflow design, implementation, thorough testing, and ongoing support.Schedule a consultation today, and let us help you drive your enterprise toward innovation and achieve sustainable growth. 

Read More
sundew

Blog

App Designers vs. App Developers

Application Software has taken over the current lifestyle, and most people are familiar with them. These digital assets deliver specific services that upgrade a task's functionality from educational purposes and the spheres of business to another ambit of life. For example, the extensive usage of smartphones and other digital devices in today's age has increased the scope of Application Software and thus enhanced the profession of Application Designers and Application Developers.The making of an Application includes various processes, and App Developers and App Designers synthesize their skills to achieve it. But the vagueness behind their roles and job scopes remains unsettled to this day. In this post, we seek to clarify • Who is an Application Designer?• Who is an Application Developer?• How do App Developers and App Designers differ in their Job Expertise? Who is an Application Designer?There are several procedures required to construct an application. An App designer looks into an Application's aesthetic structure, stretches the design beyond visual elegance, and moulds it according to the business requirements. More than beautifying an application, the App Designers need to consider the scope of the App and bring solutions to establish a diverse layout that suffices the requirements of the targeted audience. An Application Designer needs to have detailed knowledge about programming solutions, the business' Database, Information Architecture, and software development methodology. More than these, the person also needs to understand the vision of the Company they are working for and the users' requirements. Steps of Application Designing• Understanding the Goal - Applications are tools that serve a particular purpose; hence to craft one, the essence behind it needs to be understood by the designers. The Designers need to question their clients regarding the motive of the App, its vision, its preferred appearance, and the details that will serve as its nuances, separating it from the others. A clear understanding of the idea behind an Application is fundamental.  • Research - There are thousands of Applications in the market, and the numbers are always on a hike. To make an application stand out from the rest, detailed research through the market is a must. Application Designers research and analyze the collected information to bring out the best potential of the App, and give a distinctive persona to it. An elaborate research analysis also reveals the necessary implementations that one can add to the Application, which the other apps lack and hence eliminate competition.• Creating a Wireframe - Wireframes are the visual blueprints of an Application's architecture. Designers compose wireframes by including their research information and picturize how the application will appear. For this, tools like Sketch and Adobe XD are used. After creating a particular wireframe, it is modified into an interactive prototype. In the end, the Wireframe is discussed and reviewed by the Clients. • Visual Elements & Supportive IT Resources - Designers determine the visual elements of UX and UI - Fonts, Graphics, etc. They also decide on the Supportive IT resources. They need to consider the changing technologies and find a way to implement those in the App Design to keep the Application updated with the trends. Learn the Difference Between Static & Dynamic WebsiteWho is an App Developer?Application Developers construct the blueprints drawn by the Application Designers. For example, if App Designers are architects, App developers are the engineers who manifest the Application Designs into reality. Application Developers codify the wireframe, and their work structure is entirely technical. Besides constructing the Application, they also need to consider its maintenance and smooth functioning.Finally, designers and developers collaborate to shape an Application into precision. Therefore, good communication is essential to bring out the right aesthetics and seamless operation of the application. The Application developers inscribe the codes via programming languages and do an application module based on the final wireframe compiled by the Designers. After this, the Application Module undergoes a series of testing processes to optimize its functionality. At last, the final Application is sent to the user community to determine its advantages and drawbacks. While this whole process appears to be simple, there are three types of Application Developers to take care of different aspects of App Development • Front-End Application Developers - Front-End Developers operate on the part of the Application that is visible from the User's perspective. They primarily focus on the Application's graphics and layouts. Front- End Application development determines how a user will view and interact with the application. • Back-End Application Developers - Back-End Developers are concerned about the Application's Database design. As Apps require data to function, Back-End Developers are responsible for creating strong Database structures and supporting the Front-End Framework. • Full-Stack Developers - Full-Stack Developers look into the Construction of the Application in a 360 degrees vision. They work both as front-end visual developers and back-end database developers and contribute to the overall Application Development. How App Developers and App Designers differ in their Job Expertise?There is no doubt that both Application Developers and Application Designers share equal importance in creating a successful Application. Designers lay out the patterns and structures that create the framework of an application, while Developers build their codes around these designs. The element of separation between designers and developers are their skills. While both need to have a clear understanding of the aspects of designing and coding, The Designers have to be more artistic, and the Developers need to remain indulged in the technicals.In the matter of scope, App Developers and App Designers are suitably paid according to their experience and skills.  Furthermore, A sound synthesis of ideas between Application Designers and Application Developers creates an App that fully realizes its functionality and operation.Designers sketch the Application, following current trends and increasing the User number. They also make sure to keep the application free from any interaction loopholes. The users are secured with an optimum User Experience—developers, on the other hand, craft the Application structure smoothly and seamlessly. Businesses looking to scale their teams efficiently can also explore staff augmentation benefits as a flexible way to strengthen both design and development resourcesLooking for an enterprise consulting company to help you with App designing and app development? Need a FREE consultation? Write to us at [email protected]

Read More
sundew

Blog

5 Social-Media Trends to Prepare For In 2019

Recently, social media platforms have evolved from simple communication medium to a full-fledged news, entertainment and marketing hub. With new features and this year’s innovations like IGTV and Snap chat’s Story Ads, all social platforms are racing against each other to keep its users engaged and entertained – which signifies that your company shouldn’t be left too far behind. To keep up with these current social media trends brands need to upgrade themselves by reevaluating their strategy to thrive in this ever-evolving industry.In this dynamic landscape, marketers and businesses are vying for ways to stay ahead of the competition by boosting brand awareness.Here are few pointers to keep in mind as you prepare your social-media calendar for 2019Social CEOs will become the new customIn the digital age, one of the most prominent changes we have noticed is how we perceive a company's frontrunners. Lack of online presence and transparency with the audience has diminished public's trust about the brand. However, in 2019, CEOs and other company leaders need to use social media extensively to share their insights, connect with their community, and listen to their audience. Making social media a part of doing business in 2019 is imperative for the success of the brand.User-generated content will make brands' efforts more reliableUser-generated content will do the trick if your organic social reach is on the decline.  Instead of spending hours crafting unique content for social media, one can rely on user-generated content from their actual audience base which will increase the engagement more authentically and build a stronger relationship with the followers.LinkedIn Dynamic Ads are making ads more subjectiveWaving off your new members through invasive or impersonal ads would be the last thing any marketers would do to their TGs. Luckily the new feature rolled out by LinkedIn would help you to avoid such errands. With LinkedIn Dynamic Ads one can customize paid ad content and cultivate more authentic communication with their target customers.Social listening will give brands an edgeEngaging your audience is the thumb rule of any social strategy! So while developing your social media plan, put the effort to hear your audience to balance the engagement equation.  Social listening comprises analyzing conversations, phrases, and other details about your brand and competitors. Social listening tools can help to identify patterns and collect meaningful interpretations. Using that to your advantage can significantly benefit your campaigns in the future and give your brand an edge over the competition. Instead of bombarding with promotional content, focus on engaging with your followers.Instagram Stories feature will get more prominenceIn the last few years, Instagram Stories have become a popular way for users to constantly update their profiles, keep followers engaged, and, in some cases, even increase follower base. From the past trends, it has been observed, possibly the most valuable content is short-lived. To make the most of this feature, one can share pictures or behind-the-scenes videos that give your audience a glimpse to the ethos and culture and make them feel like a part of your brand. However, overwhelming your followers with a dozen posts a day would definitely impede your Social media strategy.The goal is to implement these trends by next year while many of them are already in use. So, keep an eye on what social media experts and other leaders in the industry are saying and incorporating in their marketing plan and rework on it to beat the competition with an exceptional social-media strategy for 2019.

Read More

Thank You!

Excellent!

Successfully subscribed to Sundew Solutions newsletter!

Acknowledged