{"id":20774,"date":"2025-08-05T11:00:44","date_gmt":"2025-08-05T11:00:44","guid":{"rendered":"https:\/\/www.webhosting.uk.com\/kb\/?p=20774"},"modified":"2026-06-03T13:44:10","modified_gmt":"2026-06-03T13:44:10","slug":"how-to-create-a-self-signed-wildcard-ssl-certificate","status":"publish","type":"post","link":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/","title":{"rendered":"How to create a self-signed wildcard SSL certificate"},"content":{"rendered":"<p>This guide explains how to create a self-signed wildcard SSL certificate for internal use. A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. These certificates are ideal for development, staging, and internal systems where a trusted Certificate Authority (CA) is not required.<\/p>\n<p>These commands are compatible with OpenSSL 1.1.1 and above, typically found on Ubuntu, Debian, CentOS, RHEL, Rocky Linux, and AlmaLinux.<\/p>\n<div class=\"more-tab-content\">\n<h2><strong>Table of Contents<\/strong><\/h2>\n<ol>\n<li><a href=\"#support\">Method 1: Create a Self-Signed Wildcard SSL with SAN Support<\/a><\/li>\n<li><a href=\"#command\">Method 2: Quick Inline Command (Legacy, No SAN)<\/a><a name=\"support\"><\/a><\/li>\n<li><a href=\"#certificate\">Installing the SSL Certificate<\/a><\/li>\n<li><a href=\"#important\">Important Notes<\/a><\/li>\n<\/ol>\n<\/div>\n<h3><strong>Method 1: <\/strong><strong style=\"font-size: 1.2em;\">Create a Self-Signed Wildcard SSL with SAN Support<\/strong><\/h3>\n<p>Modern browsers and servers require Subject Alternative Name (SAN) fields. This method ensures maximum compatibility.<\/p>\n<ol>\n<li>Create an OpenSSL Configuration File<br \/>\nCreate a file named san.cnf:<\/p>\n<pre>[ req ]\r\ndefault_bits\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 2048\r\nprompt\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = no\r\ndefault_md\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = sha256\r\nreq_extensions\u00a0\u00a0\u00a0\u00a0 = req_ext\r\ndistinguished_name = dn\r\n\r\n[ dn ]\r\nC\u00a0 = US\r\nST = State\r\nL\u00a0 = City\r\nO\u00a0 = Company\r\nOU = IT\r\nCN = *.example.com\r\n\r\n[ req_ext ]\r\nsubjectAltName = @alt_names\r\n\r\n[ alt_names ]\r\nDNS.1 = *.example.com\r\nDNS.2 = example.com\r\n\r\n<\/pre>\n<p>Replace fields as required and update the domain name.<\/li>\n<li>Generate Private Key and CSR\n<pre>openssl req -new -nodes -out wildcard.csr -keyout wildcard.key -config san.cnf<\/pre>\n<\/li>\n<li>Create the Self-Signed Certificate:\n<pre>openssl x509 -req -days 365 -in wildcard.csr -signkey wildcard.key \\ -extfile san.cnf -extensions req_ext -out wildcard.crt<\/pre>\n<\/li>\n<li>This generates:\n<ul>\n<li>wildcard.key \u2014 <a name=\"command\"><\/a>Private key<\/li>\n<li>wildcard.csr \u2014 Certificate signing request<\/li>\n<li>wildcard.crt \u2014 Self-signed wildcard SSL certificate<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><strong>Method 2: Quick Inline Command (Legacy, No SAN)<\/strong><\/h3>\n<ol>\n<li>If you want to generate a wildcard CSR and key using a single inline command (older approach), use:\n<pre>openssl req -newkey rsa:2048 -nodes -keyout wildcard.key -out wildcard.csr \\\r\n-subj \u201c\/C=US\/ST=State\/L=City\/O=Company\/OU=IT\/CN=*.example.com\u201d<\/pre>\n<\/li>\n<li>Then create the self-signed <a name=\"certificate\"><\/a>certificate:\n<pre>openssl x509 -req -days 365 -in wildcard.csr -signkey wildcard.key -out wildcard.crt<\/pre>\n<p>Note: This method does not include SAN and may trigger warnings in modern browsers and applications.<\/li>\n<\/ol>\n<h3><strong>Installing the SSL Certificate<\/strong><\/h3>\n<ol>\n<li>Apache Example<br \/>\nAdd the following to your SSL VirtualHost:<\/p>\n<pre>SSLEngine on\r\nSSLCertificateFile \/path\/to\/wildcard.crt\r\nSSLCertificateKeyFile \/path\/to\/wildcard.key<\/pre>\n<\/li>\n<li>Restart Apache:\n<pre>systemctl restart apache2<\/pre>\n<\/li>\n<li>Nginx Example<br \/>\nAdd to your server block:<\/p>\n<pre>ssl_certificate \/path\/to\/wildcard.crt;\r\nssl_certificate_key \/path\/to\/wildcard.key;<\/pre>\n<\/li>\n<li>Restart <a name=\"important\"><\/a>Nginx:\n<pre>systemctl restart nginx<\/pre>\n<\/li>\n<\/ol>\n<p><strong>Optional: Generate PFX File (For Windows\/IIS)<\/strong><\/p>\n<pre>openssl pkcs12 -export -out wildcard.pfx -inkey wildcard.key -in wildcard.crt<\/pre>\n<h3><strong>Important Notes<\/strong><\/h3>\n<ul>\n<li>Web browsers refuse to accept self-signed wildcard SSL certificates and show a warning.<\/li>\n<li>One level of subdomains, such as site.example.com, is covered by wildcard certificates, but not a.b.example.com.<\/li>\n<li>For production use, always obtain certificates from a trusted Certificate Authority (CA).<\/li>\n<\/ul>\n<p>Creating a self-signed wildcard SSL certificate is a fast and free way to secure many subdomains while you are developing or testing a website. But, for live\/production websites, you should always use an SSL certificate issued by a trusted Certificate Authority (CA).<\/p>\n<div style=\"background: #E6F0FF; padding: 15px; border-left: 4px solid #0047BA; margin: 20px 0;\"><strong>Managing SSL certificates and securing multiple subdomains?<\/strong><br \/>\nA <a href=\"https:\/\/www.webhosting.uk.com\/windows-vps\">Windows VPS Hosting<\/a> solution provides administrator access and the flexibility needed to manage SSL certificates, IIS settings and secure business websites.<\/div>\n<p style=\"text-align: center;\"><em><strong>Need full SSL control? Learn <a href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-manage-service-ssl-certificates-in-whm\/\">How to manage service SSL certificates in WHM<\/a><\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to create a self-signed wildcard SSL certificate for internal use. A wildcard SSL certificate allows you to secure a domain and all its subdomains with a&hellip;<\/p>\n<p><a href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/\" class=\"more-link\">Read More<\/a><\/p>\n<div class='heateorSssClear'><\/div><div  class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' data-heateor-sss-href='https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/'><div class='heateor_sss_sharing_title' style=\"font-weight:bold\" >Spread the love<\/div><div class=\"heateor_sss_sharing_ul\"><a aria-label=\"Facebook\" class=\"heateor_sss_facebook\" href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-create-a-self-signed-wildcard-ssl-certificate%2F\" title=\"Facebook\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg\" style=\"background-color:#0765FE;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"X\" class=\"heateor_sss_button_x\" href=\"https:\/\/twitter.com\/intent\/tweet?text=Create%20a%20Self-Signed%20Wildcard%20SSL%20Certificate&url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-create-a-self-signed-wildcard-ssl-certificate%2F\" title=\"X\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_x\" style=\"background-color:#2a2a2a;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg width=\"100%\" height=\"100%\" style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M21.751 7h3.067l-6.7 7.658L26 25.078h-6.172l-4.833-6.32-5.531 6.32h-3.07l7.167-8.19L6 7h6.328l4.37 5.777L21.75 7Zm-1.076 16.242h1.7L11.404 8.74H9.58l11.094 14.503Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"Linkedin\" class=\"heateor_sss_button_linkedin\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-create-a-self-signed-wildcard-ssl-certificate%2F\" title=\"Linkedin\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin\" style=\"background-color:#0077b5;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path d=\"M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z\" fill=\"#fff\"><\/path><\/svg><\/span><\/a><\/div><div class=\"heateorSssClear\"><\/div><\/div><div class='heateorSssClear'><\/div>","protected":false},"author":28,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1840],"tags":[1883],"class_list":["post-20774","post","type-post","status-publish","format-standard","hentry","category-ssl","tag-ssl"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.9 (Yoast SEO v27.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Create a Self-Signed Wildcard SSL Certificate<\/title>\n<meta name=\"description\" content=\"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a Self-Signed Wildcard SSL Certificate\" \/>\n<meta property=\"og:description\" content=\"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/\" \/>\n<meta property=\"og:site_name\" content=\"Webhosting UK Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhostingukcom\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-05T11:00:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-03T13:44:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2025\/08\/How-to-create-a-self-signed-wildcard-SSL-certificate-1200.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Victor G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Create a Self-Signed Wildcard SSL Certificate\" \/>\n<meta name=\"twitter:description\" content=\"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2025\/08\/How-to-create-a-self-signed-wildcard-SSL-certificate-1200.png\" \/>\n<meta name=\"twitter:creator\" content=\"@WebhostingUKcom\" \/>\n<meta name=\"twitter:site\" content=\"@WebhostingUKcom\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/\"},\"author\":{\"name\":\"Victor G\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\"},\"headline\":\"How to create a self-signed wildcard SSL certificate\",\"datePublished\":\"2025-08-05T11:00:44+00:00\",\"dateModified\":\"2026-06-03T13:44:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/\"},\"wordCount\":382,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"keywords\":[\"ssl\"],\"articleSection\":[\"SSL\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/\",\"name\":\"Create a Self-Signed Wildcard SSL Certificate\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\"},\"datePublished\":\"2025-08-05T11:00:44+00:00\",\"dateModified\":\"2026-06-03T13:44:10+00:00\",\"description\":\"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-create-a-self-signed-wildcard-ssl-certificate\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a self-signed wildcard SSL certificate\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"name\":\"Webhosting UK Knowledge Base\",\"description\":\"Expert Insights on Hosting, Development, Security, Marketing, and SEO\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"alternateName\":\"WHUK\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\",\"name\":\"Webhosting UK\",\"alternateName\":\"WHUK\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"width\":1200,\"height\":628,\"caption\":\"Webhosting UK\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/webhostingukcom\",\"https:\\\/\\\/x.com\\\/WebhostingUKcom\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/webhostinguk\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/webhosting-uk-com-ltd\\\/\",\"https:\\\/\\\/www.instagram.com\\\/webhosting_uk\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@webhostinguk\"],\"description\":\"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.\",\"email\":\"sales@webhosting.uk.com\",\"telephone\":\"0800 862 0890\",\"legalName\":\"Webhosting UK\",\"foundingDate\":\"2001-02-07\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"51\",\"maxValue\":\"200\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\",\"name\":\"Victor G\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"caption\":\"Victor G\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create a Self-Signed Wildcard SSL Certificate","description":"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.","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:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/","og_locale":"en_GB","og_type":"article","og_title":"Create a Self-Signed Wildcard SSL Certificate","og_description":"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.","og_url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/","og_site_name":"Webhosting UK Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/webhostingukcom","article_published_time":"2025-08-05T11:00:44+00:00","article_modified_time":"2026-06-03T13:44:10+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2025\/08\/How-to-create-a-self-signed-wildcard-SSL-certificate-1200.png","type":"image\/png"}],"author":"Victor G","twitter_card":"summary_large_image","twitter_title":"Create a Self-Signed Wildcard SSL Certificate","twitter_description":"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.","twitter_image":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2025\/08\/How-to-create-a-self-signed-wildcard-SSL-certificate-1200.png","twitter_creator":"@WebhostingUKcom","twitter_site":"@WebhostingUKcom","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/#article","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/"},"author":{"name":"Victor G","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297"},"headline":"How to create a self-signed wildcard SSL certificate","datePublished":"2025-08-05T11:00:44+00:00","dateModified":"2026-06-03T13:44:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/"},"wordCount":382,"publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"keywords":["ssl"],"articleSection":["SSL"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/","url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/","name":"Create a Self-Signed Wildcard SSL Certificate","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#website"},"datePublished":"2025-08-05T11:00:44+00:00","dateModified":"2026-06-03T13:44:10+00:00","description":"A wildcard SSL certificate allows you to secure a domain and all its subdomains with a single certificate. Follow the steps.","breadcrumb":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-create-a-self-signed-wildcard-ssl-certificate\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhosting.uk.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to create a self-signed wildcard SSL certificate"}]},{"@type":"WebSite","@id":"https:\/\/www.webhosting.uk.com\/kb\/#website","url":"https:\/\/www.webhosting.uk.com\/kb\/","name":"Webhosting UK Knowledge Base","description":"Expert Insights on Hosting, Development, Security, Marketing, and SEO","publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"alternateName":"WHUK","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhosting.uk.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization","name":"Webhosting UK","alternateName":"WHUK","url":"https:\/\/www.webhosting.uk.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","width":1200,"height":628,"caption":"Webhosting UK"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhostingukcom","https:\/\/x.com\/WebhostingUKcom","https:\/\/www.youtube.com\/c\/webhostinguk","https:\/\/www.linkedin.com\/company\/webhosting-uk-com-ltd\/","https:\/\/www.instagram.com\/webhosting_uk\/","https:\/\/www.tiktok.com\/@webhostinguk"],"description":"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.","email":"sales@webhosting.uk.com","telephone":"0800 862 0890","legalName":"Webhosting UK","foundingDate":"2001-02-07","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"51","maxValue":"200"}},{"@type":"Person","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297","name":"Victor G","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","caption":"Victor G"}}]}},"_links":{"self":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/20774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/comments?post=20774"}],"version-history":[{"count":12,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/20774\/revisions"}],"predecessor-version":[{"id":22749,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/20774\/revisions\/22749"}],"wp:attachment":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/media?parent=20774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/categories?post=20774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/tags?post=20774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}