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

Top 9 Real Estate Marketing Trends to Enhance Sales in 2025

Online property advertising platforms have transformed the way buyers search for homes. Resultantly, the role of real estate professionals has evolved, and so must their marketing strategies. As real estate marketing trends evolve, agents, brokers, and property developers are rethinking how they connect with today’s digitally savvy buyers and sellers. From immersive virtual tours and data-powered campaigns to AI-driven personalization and strategic spending, the focus is now on smarter, more agile approaches.But staying ahead isn’t just about hopping on every new trend. It’s about aligning your marketing strategy with the right ones, especially as budget constraints, transparency mandates, and rising client expectations reshape the industry.Whether you're adapting to shifting buyer behavior or aiming to outshine the competition, here is a list of trending real estate marketing moves worth a look. Use these insights to pick what fits your goals and fine-tune your marketing strategy to match the moment.What Type of Marketing Is Best for Real Estate Today?The journey to buying or selling a property rarely starts with a phone call or a newspaper ad nowadays. Instead, it begins with a quick online search, a scroll through listing platforms, or a virtual walk-through of a dream home.Convenience, transparency, and control are driving the surge in online property interactions, making the following insights imperative for marketers to keep in mind:Buyers rely on digital platforms to view listings, photos, virtual tours, and price comparisons.Agents use targeted ads, social media, and rich content to connect with prospects and build their brand.A strong digital presence is now essential for staying competitive.With these pointers in mind, here are some trends that real estate businesses can feed to sharpen their marketing efforts.9 Real Estate Marketing Trends in 2025If you are wondering what the latest trends in marketing properties are, here is a detailed list of the trends ruling the industry now.Virtual Property ToursAn increasingly popular part of visual marketing today is comprised of virtual property experiences. From drone shots to reels and 3D tours, immersive visuals offer buyers a realistic feel of a home, boosting engagement and helping listings stand out.Virtual tours give 24/7 access from any device, driving 87% more views and 31% faster sales. Over half of buyers now expect them, and Gen Z is 130% more likely to book a showing when one is included.Immersive Visuals: Drone footage, 3D walkthroughs, and video reels bring listings to life, sparking emotional connection before an in-person visit.Build a Tour That Sells: Stage and declutter, then capture wide-angle or 360° shots. Add floor plans or hotspots, and share across all channels. For added value, host live virtual walk-throughs.Social Media Marketing97% of home sales now begin online, as is evident from the Emerging Trends in Real Estate 2025 PDF showcasing NAR’s REALTOR Technology Survey.What you share online is just as important as what you’re selling. The right real estate marketing ideas for social media can turn casual scrollers into serious, engaged buyers.Interactive and Engaging Posts: Algorithms love content that sparks action. Use polls, quizzes, and giveaways to boost interaction. More clicks and comments mean better reach for your listings.Conversation-Driven Content: Engage like a human, not just a brand. Ask questions, use real estate data analytics to gather and share market trends in real estate, and invite dialogue. Timely topics like pricing trends or reno ROI drive engagement and showcase your expertise. User-Generated Content: Encourage clients to share their journey, from the house-hunting journey to move-in day. Real stories build trust and attract new leads through authentic word-of-mouth.Video marketing: From short reels to full tours, videos bring listings to life, helping buyers visualize the space and feel emotionally connected.Visual MarketingBuyers now expect an immersive experience before stepping foot in a home. That’s why visual storytelling is leading the charge among 2025’s top real estate marketing trends.Listing Photos That Convert: 99% of buyers say high-quality listing photos influence their decision to visit a property. Investing in professional photography can help homes sell 32% faster and drive up to 1,200% more social media shares.Virtual Staging: Virtual staging helps buyers visualize empty or outdated spaces as inviting homes. It’s 97% cheaper than traditional staging and far more flexible, letting agents modernize decor, declutter, or test design options instantly. Staged listings sell 75% faster and 83% sell at or above asking price.Floor Plans: While photos show beauty, floor plans show flow. With 2D and 3D options, buyers get a clear view of a home’s layout. 51% of buyers say floor plans impact their decisions, and 64% expect them in listings. When paired with virtual tours, they boost engagement and speed up sales by up to 50%.Professional WebsiteWhile social media helps create awareness, your website is where credibility is built. To build trust beyond social media, a professional website is a key takeaway from today’s real estate marketing trends. Whether you're just starting out or already established, your site should reflect your brand, tell your story, and create a seamless experience for potential buyers and sellers.Show who you are: Share your story and what sets you apart. Include testimonials from happy clients to boost trust and relatability.Keep it functional: Add tools that let users browse listings, reach out easily, and stay updated. A clean layout with essential features goes a long way.Start simple, scale later: You don’t need an elaborate setup from day one. Focus on clarity and usability, which you can always build as you grow.SEO When someone’s dreaming of a new home, their first step isn’t calling an agent. It’s typing into Google. If your website doesn’t show up there, you’re already out of the race.Your website is often the first impression, and sometimes the only one. But no matter how stunning it looks, if it’s not discoverable, you’re missing out on real opportunities.Here’s how to make your site do more than just sit pretty:Use the right keywords: Sprinkle relevant, location-specific, and service-related keywords naturally across your website and blog. This helps your content appear when potential clients are actively searching.Speed matters: A slow website is a deal-breaker. If loading takes too long, users bounce, and so does your Google ranking. Consider simplifying your design to improve performance.Optimize for mobile: With most users browsing on their phones, a responsive design plays a huge role in the success of a mobile application development. Google also prioritizes mobile-friendly websites.Build backlinks: Share your content on platforms like Instagram, LinkedIn, Reddit, and Quora. Each credible link pointing back to your site helps build its authority and drives organic traffic.Keep your site fresh: Update listings, publish new blog posts, and refresh content regularly. It shows Google and your visitors that you’re active and relevant.Polish your metatags: Make sure titles and descriptions are keyword-rich and click-worthy. These little snippets are often your first impression on search engines.Use paid promotions wisely: Real estate ads can drive high-quality traffic. When visitors stick around and explore, search engines take that as a good sign, boosting your visibility.Content MarketingDon’t just sell, educate!When done right, content isn’t just about SEO, it’s about standing out as a trusted voice in a crowded market. And in real estate, trust is everything.Here’s how you can stay on top of your audience’s minds:Educate with Intention: Break down complex trending real estate topics, like mortgage steps or fair housing laws, into clear, helpful blogs that answer real client concerns.Fuel Your Content Engine: Use blogs as the foundation for your unique real estate marketing ideas, content-wise. Repurpose them into Instagram carousels, video scripts, email tips, or LinkedIn posts to reach audiences where they’re most active.Keep It Consistent and Easy: Stay visible with regular updates. AI tools help generate ideas fast, while platforms like Canva make it easy to create engaging visuals.Tailor to Your Niche: Focus your content on your core audience, first-time buyers, investors, or families, so your expertise feels personal and relevant.Video TestimonialsOne of the top real estate marketing trends today, video testimonials pack way more punch than plain text reviews and humanize your brand. Happy clients on camera offer powerful social proof that builds confidence and connection. They let potential clients see and feel the genuine satisfaction of past customers.More trust, less scroll: A single video showing smiling, satisfied clients can do more for your credibility than a dozen written reviews.Keep it real: Let clients tell their story in their own words. Use casual, conversational footage paired with B-roll from the property or neighborhood to keep it engaging and relatable.Make it easy: Want clients to say yes to a video review? Remove the pressure. Send them a quick note with a few guiding questions beforehand so they feel prepared and at ease when it’s time to hit record.Strategic PartnershipsYou don’t have to go it alone. Building relationships with vendors, fellow agents, and industry pros can open doors to fresh ideas, wider reach, and more leads.Here’s why strategic partnerships are important:Co-marketing perks: Shared audiences double your visibility.Creative collaboration: Brings new energy to your marketing efforts.Lead generation: Tapping into each other’s networks fuels mutual growth.Bonus benefits: With added credibility, some vendors may even offer you discounted services.Smart Drip CampaignsRelationships don’t end at closing. A well-crafted drip campaign, via email or text, keeps you connected with leads, clients, and your wider network over time. Although it’s automated, it should never feel robotic. The key is to offer real value, and not just push your services.Here’s what to send and to whom:Buyer leads: Curated listings, neighborhood spotlights, and first-time buyer tips.Seller leads: Market updates, staging advice, and automated home valuations.Former clients: Home care tips, valuation updates, and soft referral nudges.Your sphere: Local market trends, industry news, and “just checking in” content.Staying aheadLeading the way with real estate marketing trends in 2025 is all about online presence, that too in all the ways that grab maximum attention. From refined branding to intuitive interaction design and targeted marketing, success lies in how well you adapt to growing digital expectations and connect.At Sundew, we help forward-thinking real estate professionals elevate every touchpoint. Our approach blends creativity and strategy to help businesses deliver standout customer experiences. Because in a market like this, the way you present your story matters as much as the properties you’re selling. 

Read More
sundew

Blog

Six Tips to drive traffic to your website

Every business, despite the sector they are into, needs a website to survive in the competitive environment to engage visitors and get them to carry out the desired action. However, the lack of website traffic is one of the biggest concerns among all business owners and marketers. So, in this article, we have curated a list of actionable, DIY ideas to help businesses see a huge inflow of traffic to their website.  While some of these ideas might not work overnight but implementing them over time can help businesses to increase brand awareness, drive revenue and educate consumers. Now, let’s go straight into the six actionable ideas for Driving Website Traffic1. Simplifying user navigationOne of the reasons why many companies fail to drive website traffic is bad user interface. Maybe your visitors are leaving because they are unable to find something they are looking for on your webpage. Simplify and re-organize your navigation structure so that users can find the page they need without much effort and focus on building responsive bespoke designs as more than half of the millennial search any website from their mobile devices.2. Reduce page load timeSometimes robust navigation can slow down your home page. So, make sure it is designed in a way that doesn’t affect the page load time. Probably each one of us has an experience with slow loading pages and research shows that if loading time is slower even just for one second, then the website can detect a 56% surge in their bounce rate.3. Focus on long tail keywordIt’s no more a secret that SEO is one of the best ways to drive the right traffic to your website. So, make sure that the posts include all the relevant terms and phrases related to the keyword. Make a list of related long tail search terms and check which one works best in your niche. Long-tail keywords account for a majority of web searches, if businesses are not targeting them, they are missing out a huge share of prospects.4. Include links to other relevant posts on your blogThe strength of your website isn’t solely measured by how many sites link back to you – it can also be affected by your internal linking structure. When developing and publishing content, be sure to keep an eye out for opportunities for internal links. This not only helps with SEO and conversion rates but also improves traffic volume by enticing users to click on other web pages.5. Optimize your existing postGo through the old posts to make sure they have unique and relevant title tags, URLs and Meta descriptions. This is essential for boosting your SEO ranking as it will generate more page views and decrease bounce rates. If your site has more relevant content and images, it will convince Google that the content is of higher quality and will rank better on the search engines while making the visitors revisit your site.6. Promote your content and optimize social media profilesBeing visible on all social media platforms helps to build a connection with audiences who are interested in what your business is offering and will follow up by checking out the profile. So, it’s important that you adjust your bios, display pictures, and links to convert these impromptu visitors into qualified leads. With user engagement being an essential part in determining the success of a business, one needs to make the most of the above tips. Run tests to scrutinize which works best for your web design instead of simply settling on one. Thus, the primary focus should be on making the website eye-catchy, interactive, and user-friendly!

Read More
sundew

Blog

Glass Morphism and liquid design for next-generation UI

Glassmorphism for next-generation UIIf you take a footstep into the world of the latest web design trends, you may already have heard of Glass Morphism. Eye-catching and colourful, this aligned term trend evokes transparency and a multi-layered approach. With its resemblance to the milky glass surfaces, it has drawn a lot of attention.Hello Glass Morphism! There is a new design trend on the block that is gaining popularity rapidly. Vividly coloured backgrounds, seemingly translucent objects, frosted-glass effects, floating-in-space features are the ones that have driven the term ‘Glass Morphism’ which pushes the boundaries of next-generation UI.Glass Morphism is a term used to describe UI design that emphasizes dark or light objects, placed on the top of colourful backgrounds. A background blur is placed on the objects that allow the background to shine through the frosted glass.Elements and Characteristics of Glass Morphism Aesthetics“A Classy design that looks Glassy”- The design represents the picturesque layout of a “series of glass panels floating in the vertical space”. The name absolutely fits the looks and the effect, which is created based on an amalgamation that is made of transparency, vivid background colours, layers, and shadows.TransparencyTransparency is achieved through the frosted-glass effect by making the background blur. This needs to be done to add depth to the design and to establish verticality. The designers also blur the objects to give the layout a sense of perspective as if it appears like they were floating in 3D space.Multi-layered approachWith objects floating in space, the multi-layered interface projects a clean look that is also eye-soothing. This style works best with one or more transparent layers on a colourful and bright backgroundVivid and Colorful backgroundThe background colour plays an important role in highlighting the blurred transparency, which always focuses on being both colourful and subtle. Dull, low-contrast backgrounds would simply fade away under objects and the effect would be lost. It is also noteworthy that subtle, semi-transparent white borders are used as light borders on translucent objects to simulate the glass edge and to make objects stand out from the subtle background.Why has Glass Morphism become the talk of the design agencies? Glass Morphism is a modern UI design trend that’s steadily been gaining popularity in recent years. It is utilized in web and app design and is quickly becoming mainstream. But it isn’t a brand new idea as the style is strongly influenced by similar concepts that have been first introduced by Apple in 2013 with iOS 7. The trend re-emerged in November 2020 when Apple brought back the design effect with the latest update, MAC OS Big Sur.It has since been used by Microsoft and Windows Vista as part of their Fluent design system. If you remember the switch to iOS 7 and Windows Vista, you will recall how refreshing it was to view notifications popping up with blurred items against the background. This effect is known as “The Acrylic” and uses it on app surfaces to add depth and establish a visual hierarchy. The style has developed over the years. It has reinvented itself with modern fonts, shapes, and colours to keep things fresh. Let’s catch a quick glimpse of some of these examples to see why this trend is so popular.How to implement Glass Morphism in Web Design in Easy Steps?Picking the right layersWhile applying this latest trend, designers first need to go through the app mock-up or the website and select the ideal vantage point to reflect the head-turning glassy looks prominently. It is recommended not to overuse it. It looks eye-soothing over light and colourful backgrounds. The Icons over it must be designed tactfully and can be accessed from anywhere without any glitch. Whilst they are becoming more common, we recommend using the layers with great consideration. Implementing Glass-a-like looksGlass Morphism aims to create the illusion of a glass-like panel floating over a background. Setting the right grade for transparency is relatively easy with common design tools such as Figma. Instead of the entire shape, it is only the fill that is made transparent. If this jargon term makes you worried about the technical inefficiency of the designers, then you must not tear your hair thinking that non-technical designers can also comfortably bring on this effect by tweaking your HTML/CSS. To implement a glass morphism effect for your website or application, here is a CSS resource to check for and to Implement it directly. You can try multiple effects and how it is suiting as per the requirements. Adding dimensions to bring on realism in designAdd a fine border to your object and lower its transparency to make it look glass-like to give your design some dimension. A shadow underneath will give you a sense of depth and these are slightly more technical changes that need to be tweaked in your code. If coding isn’t really your forte, you’d like to incorporate this trend into your own web designColour pallets to choose from for a Glass Morphic effectMainly pale colours are used for surfaces. Colours that are close to white and grey with low chroma key. Choosing a soft colour is key to minimalist design in Glass Morphism. Here you can choose a vivid colour with different colour gradients for an anomalous effect. Here are the colour pallets to choose directly from for the background in glass morphism design.What is Liquid Design?The term "liquid" implies the smooth flow of the website into the space it occupies. If you are using a high-resolution monitor, this may mean that you need to resize your browser. If you have a low-resolution monitor, you will still see the information compactly.If you do Liquid Design right, you should be able to make your pages display on almost anything and still make sense to the user. But it’s not just about making a page with the browser window. The Principles of Liquid Design align with the principles of accessibility when you build your site using relative font units and percentage-based widths for common elements. This will make the user interface a lot easier for a portion of your visitors.Website design trends have solved the problem of multiple screen sizes in a few ways. One solution is fluid design and it is becoming more and more popular. Instead of fixed columns and widths, a fluid website is built on relative widths, grids, and percentages. This allows the website to scale up and down fluidly.Liquid Design concept is about making 'Web' a Better Place’The first thing you’ll need to do is to change the way you think about the Web. Throw away the idea of having your pages look exactly the same on every deviceStart thinking about accessibility issues as you designHold your head high as you are on the way to make the net a better place!The liquid design concept is about creating customer-focused communication that’s simple, clear & engaging. This design concept strategically positions the brand to make it stand out from the crowd and gifts it a brand new personality that resonates well with its audience. It delivers a delightful experience to make the customer come over and over again.What's the Difference Between Fluid and Responsive Website Design? You may have heard the term "responsive design" and now you're wondering how it makes a difference when comparing with fluid or liquid design.Responsive sites use media queries to control the design as it scales up or down on the device. They also have breakpoints and set containers, so you have different "breakpoints" for different screen sizes; extra small for mobile and large size for desktop. "A fluid site is responsive, but not all responsive sites are fluid."- Sam McKinneySo, now to be a little more technical with explaining. Many of these websites have very minimal navigation, moving elements on the homepage, and all use the entire width of the page. Seeing is believing! Words do these websites no justice. You have to see them in action to understand the difference and why fluid design is special.Any designer who seeks 100% compatibility should take the time to set up a fluid layout. The main challenge isn’t the excessive white space in large screen resolutions, but rather the small percentage of users with a small screen resolution. For websites with large audiences, it should have a neat and user-friendly design anyway, which can be done effectively with a liquid design layout.

Read More

Thank You!

Excellent!

Successfully subscribed to Sundew Solutions newsletter!

Acknowledged