{"id":3395,"date":"2026-11-14T10:11:45","date_gmt":"2026-11-14T04:41:45","guid":{"rendered":"https:\/\/larapush.com\/blog\/?p=3395"},"modified":"2026-11-14T10:11:45","modified_gmt":"2026-11-14T04:41:45","slug":"do-you-need-https-for-web-push","status":"publish","type":"post","link":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/","title":{"rendered":"Do You Need HTTPS to Send Web Push Notifications?"},"content":{"rendered":"\n<p><strong>Yes, you need HTTPS to send web push notifications.<\/strong> The Push API and service workers only run in secure contexts, so visitors can subscribe only on an HTTPS page. The one exception is localhost during development. Your push panel or server should use HTTPS as well, because it handles logins and subscriber data.<\/p>\n\n\n\n<p>This is one of the most common questions I see from site owners who still run an old HTTP site. The short version: the HTTPS requirement isn&#8217;t a vendor rule you can negotiate around. It&#8217;s built into browsers. Below is what the rule covers, why it exists, and what to do if your site isn&#8217;t on HTTPS yet.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Why_does_web_push_require_HTTPS\" title=\"Why does web push require HTTPS?\">Why does web push require HTTPS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Which_parts_of_a_web_push_setup_need_HTTPS\" title=\"Which parts of a web push setup need HTTPS?\">Which parts of a web push setup need HTTPS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Can_you_send_web_push_notifications_from_an_HTTP_site\" title=\"Can you send web push notifications from an HTTP site?\">Can you send web push notifications from an HTTP site?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Is_a_free_SSL_certificate_good_enough_for_web_push\" title=\"Is a free SSL certificate good enough for web push?\">Is a free SSL certificate good enough for web push?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Does_the_whole_site_need_HTTPS_or_only_one_page\" title=\"Does the whole site need HTTPS, or only one page?\">Does the whole site need HTTPS, or only one page?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#What_about_iPhone_and_Safari\" title=\"What about iPhone and Safari?\">What about iPhone and Safari?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#How_do_you_move_a_site_to_HTTPS_before_adding_push\" title=\"How do you move a site to HTTPS before adding push?\">How do you move a site to HTTPS before adding push?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Where_does_LaraPush_fit\" title=\"Where does LaraPush fit?\">Where does LaraPush fit?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#Frequently_asked_questions\" title=\"Frequently asked questions\">Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_does_web_push_require_HTTPS\"><\/span>Why does web push require HTTPS?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Web push requires HTTPS because browsers restrict the Push API, the Notifications permission flow and service workers to secure contexts. On a plain HTTP page, the browser doesn&#8217;t expose the APIs a push script needs, so there&#8217;s nothing to subscribe to.<\/p>\n\n\n\n<p>MDN marks the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Push_API\" target=\"_blank\" rel=\"noreferrer noopener\">Push API<\/a> and <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Service_Worker_API\" target=\"_blank\" rel=\"noreferrer noopener\">Service Worker API<\/a> as available only in <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Security\/Secure_Contexts\" target=\"_blank\" rel=\"noreferrer noopener\">secure contexts<\/a>. The reason is simple. A service worker can intercept requests and run in the background, so an attacker who could inject one over plain HTTP would gain a lot of power. HTTPS makes sure the script really came from your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Which_parts_of_a_web_push_setup_need_HTTPS\"><\/span>Which parts of a web push setup need HTTPS?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Every part that runs in or talks to the browser needs HTTPS: the page where visitors subscribe, the service worker file, and the push panel or API your site calls. The connection from your server to the browser push service is HTTPS by design.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Part<\/th><th>Needs HTTPS?<\/th><th>Why<\/th><\/tr><\/thead><tbody><tr><td>Your website (subscribe page)<\/td><td>Yes<\/td><td>Push API and service workers need a secure context<\/td><\/tr><tr><td>Service worker file (for example sw.js)<\/td><td>Yes<\/td><td>Must be served from the same secure origin<\/td><\/tr><tr><td>Push panel or dashboard<\/td><td>Yes, strongly recommended<\/td><td>Logins, API keys and subscriber data<\/td><\/tr><tr><td>Server to push service (FCM, Mozilla, Apple)<\/td><td>Yes, always<\/td><td>Push services only accept HTTPS requests, per <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc8030\" target=\"_blank\" rel=\"noreferrer noopener\">RFC 8030<\/a><\/td><\/tr><tr><td>Local development (localhost)<\/td><td>No<\/td><td>Browsers treat localhost as a secure context<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>If you want the bigger picture of how these pieces connect, see <a href=\"https:\/\/larapush.com\/blog\/how-do-push-notifications-work\/\">how push notifications work<\/a> and my guide to <a href=\"https:\/\/larapush.com\/blog\/service-worker-for-web-push\/\">the service worker for web push<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_you_send_web_push_notifications_from_an_HTTP_site\"><\/span>Can you send web push notifications from an HTTP site?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Not directly. A visitor on an HTTP page can&#8217;t create a push subscription for that HTTP origin. However, some providers used to offer a workaround: a pop-up or redirect to an HTTPS subdomain on the provider&#8217;s domain, where the actual subscription happened.<\/p>\n\n\n\n<p>That workaround has real downsides. The subscription belongs to the provider&#8217;s domain, not yours. The extra window lowers opt-ins, and moving away later is hard, because subscriptions are tied to the origin that created them. I explain that last point in <a href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\">what happens to web push subscribers if you change domain<\/a>. In 2026, moving your site to HTTPS is cheaper and cleaner than any workaround.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Is_a_free_SSL_certificate_good_enough_for_web_push\"><\/span>Is a free SSL certificate good enough for web push?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Yes. Browsers care that the certificate is valid and trusted, not what it costs. A free certificate from <a href=\"https:\/\/letsencrypt.org\/getting-started\/\" target=\"_blank\" rel=\"noreferrer noopener\">Let&#8217;s Encrypt<\/a> works exactly like a paid one for web push.<\/p>\n\n\n\n<p>What matters is that it stays valid. If a certificate expires, browsers show warnings, the push script may fail to load, and new subscriptions stop. So turn on automatic renewal and check it once in a while. Most hosting control panels and managed WordPress hosts issue and renew free certificates automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_the_whole_site_need_HTTPS_or_only_one_page\"><\/span>Does the whole site need HTTPS, or only one page?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Technically, only the origin where people subscribe needs HTTPS, and an origin is the scheme, host and port together. In practice, run the whole site on HTTPS and redirect HTTP to HTTPS.<\/p>\n\n\n\n<p>There are two reasons. First, https:\/\/example.com and http:\/\/example.com are different origins, so a mixed setup splits your subscribers. Second, a service worker&#8217;s scope covers paths under its location on that origin, so a single HTTPS section limits where the prompt can work. Full-site HTTPS avoids both problems and is good practice for SEO and user trust anyway.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_about_iPhone_and_Safari\"><\/span>What about iPhone and Safari?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Safari has the same HTTPS rule. On iPhone and iPad, web push also requires iOS 16.4 or later, and the site must be added to the Home Screen as a web app, as Apple explains in WebKit&#8217;s <a href=\"https:\/\/webkit.org\/blog\/13878\/web-push-for-web-apps-on-ios-and-ipados\/\" target=\"_blank\" rel=\"noreferrer noopener\">web push for iOS announcement<\/a>.<\/p>\n\n\n\n<p>So HTTPS is necessary but not sufficient on iOS. You also need a web app manifest so the site can be added to the Home Screen. For browser-by-browser details, see <a href=\"https:\/\/larapush.com\/blog\/browsers-that-support-web-push\/\">which browsers support web push<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_you_move_a_site_to_HTTPS_before_adding_push\"><\/span>How do you move a site to HTTPS before adding push?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Move to HTTPS in a few steps: install a certificate, update internal links and settings, redirect HTTP to HTTPS, then check for mixed content. After that, add the push script and service worker on the HTTPS site.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Issue a certificate through your host or with Let&#8217;s Encrypt.<\/li>\n\n\n\n<li>Change the site URL to https:\/\/ (on WordPress, under Settings, General).<\/li>\n\n\n\n<li>Add a 301 redirect from HTTP to HTTPS.<\/li>\n\n\n\n<li>Fix mixed content, such as images or scripts loaded over http:\/\/.<\/li>\n\n\n\n<li>Update the property in Google Search Console and your sitemap.<\/li>\n\n\n\n<li>Install the push script and service worker, then test a subscription.<\/li>\n<\/ol>\n\n\n\n<p>Do this before you collect any subscribers. If you add push first and switch protocols later, subscribers from the HTTP origin won&#8217;t carry over automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_does_LaraPush_fit\"><\/span>Where does LaraPush fit?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>LaraPush is a self-hosted panel that you install on your own VPS, on a domain or subdomain such as push.example.com. Installation is free and automated from the customer portal. You then add your HTTPS website, connect its Firebase configuration, and place the JavaScript and service worker, or use the free <a href=\"https:\/\/larapush.com\/wordpress-plugin\/\">WordPress plugin<\/a>.<\/p>\n\n\n\n<p>You still need HTTPS on your own site, and you run the VPS. The licence covers one server, and there&#8217;s no free plan. Plans start from $499 one-time; see the <a href=\"https:\/\/larapush.com\/pricing\/\">pricing page<\/a> for the current price and the <a href=\"https:\/\/larapush.com\/features\/\">features overview<\/a> for what&#8217;s included. To compare tools first, read my <a href=\"https:\/\/larapush.com\/blog\/best-push-notification-services-and-tools\/\">guide to push notification services<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1763101000000\"><strong class=\"schema-faq-question\">Do web push notifications work on HTTP sites?<\/strong> <p class=\"schema-faq-answer\">No. Browsers only expose the Push API and service workers in secure contexts, so a visitor on an HTTP page can&#8217;t subscribe to that origin. Some providers used a pop-up on their own HTTPS subdomain as a workaround, but the subscription then belongs to their domain, not yours.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763101001111\"><strong class=\"schema-faq-question\">Can I test web push without HTTPS?<\/strong> <p class=\"schema-faq-answer\">Yes, on localhost. Browsers treat localhost as a secure context, so you can develop and test a service worker and push subscription on your own machine without a certificate. As soon as the site runs on a real domain, it needs HTTPS.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763101002222\"><strong class=\"schema-faq-question\">Does a free Let&#8217;s Encrypt certificate work for push notifications?<\/strong> <p class=\"schema-faq-answer\">Yes. Web push only needs a valid, trusted certificate, and Let&#8217;s Encrypt certificates are trusted by all major browsers. Make sure automatic renewal works, because an expired certificate stops the push script from loading and blocks new subscriptions.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763101003333\"><strong class=\"schema-faq-question\">Will my push subscribers move with me when I switch from HTTP to HTTPS?<\/strong> <p class=\"schema-faq-answer\">Not automatically. HTTP and HTTPS are different origins, and subscriptions belong to the origin that created them. Visitors will need to subscribe again on the HTTPS site, which is why it&#8217;s best to move to HTTPS before you start collecting push subscribers.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763101004444\"><strong class=\"schema-faq-question\">Does my push server need HTTPS too?<\/strong> <p class=\"schema-faq-answer\">Yes, in practice. The panel handles admin logins, API keys and subscriber data, so it should always use HTTPS. Browsers may also block your HTTPS site from calling an HTTP endpoint as mixed content, and push services only accept HTTPS requests from your server.<\/p> <\/div><\/div>\n","protected":false},"excerpt":{"rendered":"Yes, web push needs HTTPS. The Push API and service workers only run in secure contexts, with localhost as the only exception for testing.","protected":false},"author":7,"featured_media":3401,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[76],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Do You Need HTTPS to Send Web Push Notifications?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Do You Need HTTPS to Send Web Push Notifications?\" \/>\n<meta property=\"og:description\" content=\"Yes, web push needs HTTPS. The Push API and service workers only run in secure contexts, with localhost as the only exception for testing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\" \/>\n<meta property=\"og:site_name\" content=\"LaraPush Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-14T04:41:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ritesh Das\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ritesh Das\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\"},\"author\":{\"name\":\"Ritesh Das\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\"},\"headline\":\"Do You Need HTTPS to Send Web Push Notifications?\",\"datePublished\":\"2026-11-14T04:41:45+00:00\",\"dateModified\":\"2026-11-14T04:41:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\"},\"wordCount\":1293,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg\",\"articleSection\":[\"FAQs\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\",\"url\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\",\"name\":\"Do You Need HTTPS to Send Web Push Notifications?\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg\",\"datePublished\":\"2026-11-14T04:41:45+00:00\",\"dateModified\":\"2026-11-14T04:41:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101000000\"},{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101001111\"},{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101002222\"},{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101003333\"},{\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101004444\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg\",\"width\":1200,\"height\":675,\"caption\":\"Illustration of the web push HTTPS requirement with a padlocked browser\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/larapush.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Do You Need HTTPS to Send Web Push Notifications?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/larapush.com\/blog\/#website\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"name\":\"LaraPush Blog\",\"description\":\"Stay Ahead, Stay Notified with LaraPush!\",\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/larapush.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/larapush.com\/blog\/#organization\",\"name\":\"LaraPush\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"width\":280,\"height\":60,\"caption\":\"LaraPush\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\",\"name\":\"Ritesh Das\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"caption\":\"Ritesh Das\"},\"url\":\"https:\/\/larapush.com\/blog\/author\/riteshdas\/\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101000000\",\"position\":1,\"url\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101000000\",\"name\":\"Do web push notifications work on HTTP sites?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. Browsers only expose the Push API and service workers in secure contexts, so a visitor on an HTTP page can't subscribe to that origin. Some providers used a pop-up on their own HTTPS subdomain as a workaround, but the subscription then belongs to their domain, not yours.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101001111\",\"position\":2,\"url\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101001111\",\"name\":\"Can I test web push without HTTPS?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, on localhost. Browsers treat localhost as a secure context, so you can develop and test a service worker and push subscription on your own machine without a certificate. As soon as the site runs on a real domain, it needs HTTPS.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101002222\",\"position\":3,\"url\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101002222\",\"name\":\"Does a free Let's Encrypt certificate work for push notifications?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. Web push only needs a valid, trusted certificate, and Let's Encrypt certificates are trusted by all major browsers. Make sure automatic renewal works, because an expired certificate stops the push script from loading and blocks new subscriptions.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101003333\",\"position\":4,\"url\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101003333\",\"name\":\"Will my push subscribers move with me when I switch from HTTP to HTTPS?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Not automatically. HTTP and HTTPS are different origins, and subscriptions belong to the origin that created them. Visitors will need to subscribe again on the HTTPS site, which is why it's best to move to HTTPS before you start collecting push subscribers.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101004444\",\"position\":5,\"url\":\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101004444\",\"name\":\"Does my push server need HTTPS too?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, in practice. The panel handles admin logins, API keys and subscriber data, so it should always use HTTPS. Browsers may also block your HTTPS site from calling an HTTP endpoint as mixed content, and push services only accept HTTPS requests from your server.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Do You Need HTTPS to Send Web Push Notifications?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/","og_locale":"en_US","og_type":"article","og_title":"Do You Need HTTPS to Send Web Push Notifications?","og_description":"Yes, web push needs HTTPS. The Push API and service workers only run in secure contexts, with localhost as the only exception for testing.","og_url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/","og_site_name":"LaraPush Blog","article_published_time":"2026-11-14T04:41:45+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg","type":"image\/jpeg"}],"author":"Ritesh Das","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ritesh Das","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#article","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/"},"author":{"name":"Ritesh Das","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd"},"headline":"Do You Need HTTPS to Send Web Push Notifications?","datePublished":"2026-11-14T04:41:45+00:00","dateModified":"2026-11-14T04:41:45+00:00","mainEntityOfPage":{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/"},"wordCount":1293,"commentCount":0,"publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"image":{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg","articleSection":["FAQs"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/","url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/","name":"Do You Need HTTPS to Send Web Push Notifications?","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage"},"image":{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg","datePublished":"2026-11-14T04:41:45+00:00","dateModified":"2026-11-14T04:41:45+00:00","breadcrumb":{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101000000"},{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101001111"},{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101002222"},{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101003333"},{"@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101004444"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#primaryimage","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/do-you-need-https-for-web-push.jpg","width":1200,"height":675,"caption":"Illustration of the web push HTTPS requirement with a padlocked browser"},{"@type":"BreadcrumbList","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/larapush.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Do You Need HTTPS to Send Web Push Notifications?"}]},{"@type":"WebSite","@id":"https:\/\/larapush.com\/blog\/#website","url":"https:\/\/larapush.com\/blog\/","name":"LaraPush Blog","description":"Stay Ahead, Stay Notified with LaraPush!","publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/larapush.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/larapush.com\/blog\/#organization","name":"LaraPush","url":"https:\/\/larapush.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","width":280,"height":60,"caption":"LaraPush"},"image":{"@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd","name":"Ritesh Das","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","caption":"Ritesh Das"},"url":"https:\/\/larapush.com\/blog\/author\/riteshdas\/"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101000000","position":1,"url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101000000","name":"Do web push notifications work on HTTP sites?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No. Browsers only expose the Push API and service workers in secure contexts, so a visitor on an HTTP page can't subscribe to that origin. Some providers used a pop-up on their own HTTPS subdomain as a workaround, but the subscription then belongs to their domain, not yours.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101001111","position":2,"url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101001111","name":"Can I test web push without HTTPS?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, on localhost. Browsers treat localhost as a secure context, so you can develop and test a service worker and push subscription on your own machine without a certificate. As soon as the site runs on a real domain, it needs HTTPS.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101002222","position":3,"url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101002222","name":"Does a free Let's Encrypt certificate work for push notifications?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes. Web push only needs a valid, trusted certificate, and Let's Encrypt certificates are trusted by all major browsers. Make sure automatic renewal works, because an expired certificate stops the push script from loading and blocks new subscriptions.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101003333","position":4,"url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101003333","name":"Will my push subscribers move with me when I switch from HTTP to HTTPS?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Not automatically. HTTP and HTTPS are different origins, and subscriptions belong to the origin that created them. Visitors will need to subscribe again on the HTTPS site, which is why it's best to move to HTTPS before you start collecting push subscribers.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101004444","position":5,"url":"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/#faq-question-1763101004444","name":"Does my push server need HTTPS too?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, in practice. The panel handles admin logins, API keys and subscriber data, so it should always use HTTPS. Browsers may also block your HTTPS site from calling an HTTP endpoint as mixed content, and push services only accept HTTPS requests from your server.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3395"}],"collection":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/comments?post=3395"}],"version-history":[{"count":1,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3395\/revisions"}],"predecessor-version":[{"id":3402,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3395\/revisions\/3402"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media\/3401"}],"wp:attachment":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media?parent=3395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/categories?post=3395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/tags?post=3395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}