{"id":31,"date":"2024-10-01T19:17:25","date_gmt":"2024-10-01T19:17:25","guid":{"rendered":"https:\/\/certpanel.com\/resources\/?p=31"},"modified":"2026-08-14T12:26:30","modified_gmt":"2026-08-14T12:26:30","slug":"using-dns-validation-with-autoinstall-ssl","status":"publish","type":"post","link":"https:\/\/certpanel.com\/resources\/using-dns-validation-with-autoinstall-ssl\/","title":{"rendered":"Using DNS Validation With AutoInstall SSL"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Before a certificate authority can issue an SSL certificate, it must verify that you control the domain name. This is commonly done by uploading a file, adding a DNS record, or clicking a link in an email. AutoInstall SSL uses the file validation method as default because it is the simplest way to complete validation and issue your SSL certificate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In certain cases, you\u2019ll need to use DNS validation instead (for example, if your domain has multiple servers behind a load balancer or if your server is not yet accessible to the internet). AutoInstall SSL integrates with several popular DNS providers to automate the DNS validation process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tip: If you\u2019re not sure who your DNS provider is, you can find out by running a Nameserver lookup on your domain at <a href=\"https:\/\/dnschecker.org\/ns-lookup.php\">https:\/\/dnschecker.org\/ns-lookup.php<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For step-by-step instructions on how to use DNS validation with AutoInstall SSL, please select your DNS provider:<\/p>\n\n\n\n<div class=\"wp-block-columns is-style-default is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\" open><summary><strong>DNS Installation Guides<\/strong><\/summary>\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\"><div class=\"wp-block-table-of-contents-block-table-of-contents-block\"><div class=\"eb-parent-wrapper eb-parent-eb-toc-gec30 \"><div class=\"eb-toc-container eb-toc-gec30  eb-toc-is-not-sticky eb-toc-not-collapsible eb-toc-initially-not-collapsed eb-toc-scrollToTop style-1 list-style-none\" data-scroll-top=\"false\" data-scroll-top-icon=\"fas fa-angle-up\" data-collapsible=\"false\" data-sticky-hide-mobile=\"false\" data-sticky=\"false\" data-scroll-target=\"scroll_to_toc\" data-copy-link=\"false\" data-editor-type=\"\" data-hide-desktop=\"false\" data-hide-tab=\"false\" data-hide-mobile=\"false\" data-itemcollapsed=\"false\"><div class=\"eb-toc-header\"><\/div><div class=\"eb-toc-wrapper \" data-headers=\"[{&quot;level&quot;:3,&quot;content&quot;:&quot;Cloudflare&quot;,&quot;text&quot;:&quot;Cloudflare&quot;,&quot;link&quot;:&quot;cloudflare&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;GoDaddy&quot;,&quot;text&quot;:&quot;GoDaddy&quot;,&quot;link&quot;:&quot;godaddy&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;DNS Made Easy&quot;,&quot;text&quot;:&quot;DNS Made Easy&quot;,&quot;link&quot;:&quot;dns-made-easy&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;Microsoft Azure DNS&quot;,&quot;text&quot;:&quot;Microsoft Azure DNS&quot;,&quot;link&quot;:&quot;microsoft-azure-dns&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;AWS Route 53&quot;,&quot;text&quot;:&quot;AWS Route 53&quot;,&quot;link&quot;:&quot;aws-route-53&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;Digital Ocean&quot;,&quot;text&quot;:&quot;Digital Ocean&quot;,&quot;link&quot;:&quot;digital-ocean&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;Google Cloud DNS&quot;,&quot;text&quot;:&quot;Google Cloud DNS&quot;,&quot;link&quot;:&quot;google-cloud-dns&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;Name.com&quot;,&quot;text&quot;:&quot;Name.com&quot;,&quot;link&quot;:&quot;namecom&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;Namecheap&quot;,&quot;text&quot;:&quot;Namecheap&quot;,&quot;link&quot;:&quot;namecheap&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;OVH&quot;,&quot;text&quot;:&quot;OVH&quot;,&quot;link&quot;:&quot;ovh&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;RFC2136 (BIND on Linux, including AlmaLinux and Amazon Linux 2)&quot;,&quot;text&quot;:&quot;RFC2136 (BIND on Linux, including AlmaLinux and Amazon Linux 2)&quot;,&quot;link&quot;:&quot;rfc2136-bind-on-linux-including-almalinux-and-amazon-linux-2&quot;}]\" data-visible=\"[true,true,true,false,false,false]\" data-delete-headers=\"[{&quot;label&quot;:&quot;Cloudflare&quot;,&quot;value&quot;:&quot;cloudflare&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;GoDaddy&quot;,&quot;value&quot;:&quot;godaddy&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;DNS Made Easy&quot;,&quot;value&quot;:&quot;dns-made-easy&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Microsoft Azure DNS&quot;,&quot;value&quot;:&quot;microsoft-azure-dns&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;AWS Route 53&quot;,&quot;value&quot;:&quot;aws-route-53&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Digital Ocean&quot;,&quot;value&quot;:&quot;digital-ocean&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Google Cloud DNS&quot;,&quot;value&quot;:&quot;google-cloud-dns&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Name.com&quot;,&quot;value&quot;:&quot;namecom&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Namecheap&quot;,&quot;value&quot;:&quot;namecheap&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;OVH&quot;,&quot;value&quot;:&quot;ovh&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;RFC2136 (BIND on Linux, including AlmaLinux and Amazon Linux 2)&quot;,&quot;value&quot;:&quot;rfc2136-bind-on-linux-including-almalinux-and-amazon-linux-2&quot;,&quot;isDelete&quot;:false}]\" data-smooth=\"true\" data-top-offset=\"\"><div class=\"eb-toc__list-wrap\"><ul class=\"eb-toc__list\"><li><a href=\"#cloudflare\">Cloudflare<\/a><li><a href=\"#godaddy\">GoDaddy<\/a><li><a href=\"#dns-made-easy\">DNS Made Easy<\/a><li><a href=\"#microsoft-azure-dns\">Microsoft Azure DNS<\/a><li><a href=\"#aws-route-53\">AWS Route 53<\/a><li><a href=\"#digital-ocean\">Digital Ocean<\/a><li><a href=\"#google-cloud-dns\">Google Cloud DNS<\/a><li><a href=\"#namecom\">Name.com<\/a><li><a href=\"#namecheap\">Namecheap<\/a><li><a href=\"#ovh\">OVH<\/a><li><a href=\"#rfc2136-bind-on-linux-including-almalinux-and-amazon-linux-2\">RFC2136 (BIND on Linux, including AlmaLinux and Amazon Linux 2)<\/a><\/ul><\/div><\/div><\/div><\/div><\/div><\/div>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Each DNS provider uses different types of credentials to connect to their API&#8211;we\u2019ve provided the needed arguments and a sample command for each provider. You can copy the example command and just replace the placeholders in brackets [] with your values (remove the brackets).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Cloudflare<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL install certificate command to complete DNS validation using Cloudflare:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>cloudflare<\/td><\/tr><tr><td>&#8211;cloudflareapitoken<\/td><td>Your Cloudflare API token (see below)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider cloudflare --cloudflareapitoken &#91;APIToken]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider cloudflare --cloudflareapitoken &#91;APIToken]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to setup API credentials in your Cloudflare account:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to your account profile page (<a href=\"https:\/\/dash.cloudflare.com\/profile\">https:\/\/dash.cloudflare.com\/profile<\/a>)<\/li>\n\n\n\n<li>Click on API Tokens<\/li>\n\n\n\n<li>Click Create Token<\/li>\n\n\n\n<li>Next to \u201cEdit zone DNS\u201d click Use template<\/li>\n\n\n\n<li>Under Zone Resources, select \u201cAll zones\u201d<\/li>\n\n\n\n<li>Under Permissions, click Add more and select User + User Details + Read.<\/li>\n\n\n\n<li>Click Continue to summary<\/li>\n\n\n\n<li>Click Create Token<\/li>\n\n\n\n<li>Copy the token<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Note: the above permissions are required so that AutoInstall SSL can enumerate the zones in your account and choose the correct zone for a parent or sub-domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a>GoDaddy<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Please note that GoDaddy only enables API access for accounts that meet <a href=\"https:\/\/www.reddit.com\/r\/godaddy\/comments\/1bl0f5r\/am_i_the_only_one_who_cant_use_the_api\/\">certain minimums<\/a>. Use these arguments with AutoInstall SSL to complete DNS validation using GoDaddy:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>godaddy<\/td><\/tr><tr><td>&#8211;apikey<\/td><td>Your GoDaddy API key (see below)<\/td><\/tr><tr><td>&#8211;apisecret<\/td><td>Your GoDaddy API secret (see below)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider godaddy --apikey &#91;APIKey] --apisecret &#91;APISecret]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider godaddy --apikey &#91;APIKey] --apisecret &#91;APISecret]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to setup API credentials in your GoDaddy account:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can generate\/manage your API keys at <a href=\"https:\/\/developer.godaddy.com\/keys\">https:\/\/developer.godaddy.com\/keys<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DNS Made Easy<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using DNS Made Easy:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>dnsmadeeasy<\/td><\/tr><tr><td>&#8211;apikey<\/td><td>Your DNS Made Easy API key (see below)<\/td><\/tr><tr><td>&#8211;apisecret<\/td><td>Your DNS Made Easy API secret key (see below)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider dnsmadeeasy --apikey &#91;APIKey] --apisecret &#91;APISecret]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider dnsmadeeasy --apikey &#91;APIKey] --apisecret &#91;APISecret]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to setup API credentials in your DNS Made Easy account:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log into <a href=\"https:\/\/cp.dnsmadeeasy.com\">https:\/\/cp.dnsmadeeasy.com<\/a> and go to Config &gt; Account Information.<\/li>\n\n\n\n<li>You must be the primary user on the account to be able to see API keys.<\/li>\n\n\n\n<li>If you\u2019ve already generated API credentials, they\u2019ll be displayed. If the credentials are not displayed, check the box to \u201cGenerate New API Credentials\u201d and click Save.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Microsoft Azure DNS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using Microsoft Azure DNS:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>azure<\/td><\/tr><tr><td>&#8211;azuretenantid<\/td><td>Your Tenant ID in Microsoft Entra ID<\/td><\/tr><tr><td>&#8211;azureclientid<\/td><td>The Application (client) ID for your AutoInstall SSL application in Microsoft Entra ID<\/td><\/tr><tr><td>&#8211;azuresecret<\/td><td>The Secret for your AutoInstall SSL application in Microsoft Entra ID<\/td><\/tr><tr><td>&#8211;azuresubscriptionid<\/td><td>The Azure Subscription ID associated with your domain\u2019s DNS zone<\/td><\/tr><tr><td>&#8211;azureresourcegroupname<\/td><td>The Resource group name associated with your domain\u2019s DNS zone<\/td><\/tr><tr><td>&#8211;azurehostedzone<\/td><td>Azurehostedzone Name<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider azure --azuretenantid &#91;TenantId] --azureclientid &#91;ClientID] --azuresecret &#91;Secret] --azuresubscriptionid &#91;SubscriptionID] --azureresourcegroupname &#91;ResourceGroupName] --azurehostedzone &#91;HostedZone]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider azure --azuretenantid &#91;TenantId] --azureclientid &#91;ClientID] --azuresecret &#91;Secret] --azuresubscriptionid &#91;SubscriptionID] --azureresourcegroupname &#91;ResourceGroupName] --azurehostedzone &#91;HostedZone]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to setup API credentials in your Azure portal:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In Microsoft Entra ID, click on App Registration and create a new application named \u201cAutoInstall SSL\u201d. Redirect URI can be blank.<\/li>\n\n\n\n<li>Give the new application DNS Zone Contributor level access to the subscription your domain\u2019s DNS zone is in.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a>AWS Route 53<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using AWS Route 53:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>route53<\/td><\/tr><tr><td>&#8211;route53accesskeyid<\/td><td>Your AWS Access key (see below)<\/td><\/tr><tr><td>&#8211;route53secretaccesskey<\/td><td>Your AWS Secret access key (see below)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider route53 --route53accesskeyid &#91;AccessKeyID] --route53secretaccesskey &#91;SecretAccessKey]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider route53 --route53accesskeyid &#91;AccessKeyID] --route53secretaccesskey &#91;SecretAccessKey]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to setup API credentials in your AWS console:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the AWS management console<\/li>\n\n\n\n<li>Click on your profile name at the top right, then click on Security credentials<\/li>\n\n\n\n<li>Under Access Keys, select Create New Access Key<\/li>\n\n\n\n<li>Click Show Access Key and save\/download your credentials<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Updating DNS Credentials<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your DNS provider credentials change, you can update the credentials used by AutoInstall SSL:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run the main AutoInstall SSL command:\n<ul class=\"wp-block-list\">\n<li>Linux: sudo runautoinstallssl.sh<\/li>\n\n\n\n<li>Windows: AutoInstallSSL.exe<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Select menu option 4, Settings &amp; Credentials<\/li>\n\n\n\n<li>Select Manage DNS provider credentials<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Digital Ocean<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with AutoInstall SSL to complete DNS validation using Digital Ocean:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>digitalocean<\/td><\/tr><tr><td>&#8211;digitaloceantoken<\/td><td>Your DigitalOcean API token<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider digitalocean --digitaloceantoken &#91;APIToken]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider digitalocean --digitaloceantoken &#91;APIToken]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to set up API credentials in DigitalOcean<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your DigitalOcean account.<\/li>\n\n\n\n<li>From the left-hand navigation, click API.<\/li>\n\n\n\n<li>Under Personal Access Tokens, click Generate New Token.<\/li>\n\n\n\n<li>Enter a name for the token (for example: <em>AutoInstallSSL<\/em>).<\/li>\n\n\n\n<li>Select Custom Scopes<\/li>\n\n\n\n<li>Select <strong>all <\/strong>the options from within the \u201cDomain\u201d resource type (create, read, update and delete).<\/li>\n\n\n\n<li>Click Generate Token.<\/li>\n\n\n\n<li>Copy the token and store it securely, you will not be able to view it again.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Google Cloud DNS<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using Google Cloud DNS:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>gcpdns<\/td><\/tr><tr><td>&#8211;serviceaccountkey<\/td><td>The local path of the JSON key<strong> <\/strong>on your server<\/td><\/tr><tr><td>&#8211;projectid<\/td><td>Google Cloud Project ID<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider gcpdns --serviceaccountkey &#91;Path of SERVICEACCOUNTKEY in Double quote] --projectid &#91;PROJECTID]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider gcpdns --serviceaccountkey &#91;Path of SERVICEACCOUNTKEY in Double quote] --projectid &#91;PROJECTID]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to set up API credentials in Google Cloud DNS<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to Google Cloud Console.<\/li>\n\n\n\n<li>Select the project that hosts your Cloud DNS zone.<\/li>\n\n\n\n<li>Go to &#8220;IAM &amp; Admin&#8221; \u2192 &#8220;Service Accounts&#8221;.<\/li>\n\n\n\n<li>Click &#8220;Create service account&#8221;.<\/li>\n\n\n\n<li>Enter a name for the service account and click &#8220;Create and continue&#8221;.<\/li>\n\n\n\n<li>Under Permissions, assign the role &#8220;DNS Administrator&#8221;, then click &#8220;Continue&#8221; \u2192 &#8220;Done&#8221;.<\/li>\n\n\n\n<li>Locate the newly created service account, click the three-dot menu, and select &#8220;Manage&#8221;.<\/li>\n\n\n\n<li>Click &#8220;Add key&#8221; \u2192 &#8220;Create new key&#8221;, then choose &#8220;JSON&#8221; (A JSON file will be downloaded to your computer).<\/li>\n\n\n\n<li>Upload the JSON file to your server and note its local file path, this path is used for the <code>\u2013serviceaccountkey<\/code>.The Project ID is shown in the Google Cloud project selector.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Understanding Service Accounts:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.cloud.google.com\/iam\/docs\/service-account-overview\">https:\/\/docs.cloud.google.com\/iam\/docs\/service-account-overview<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Name.com<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using Name.com:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>namecom<\/td><\/tr><tr><td>&#8211;apikey<\/td><td>Your Name.com username<\/td><\/tr><tr><td>&#8211;apisecret<\/td><td>Your Name.com API token<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider namecom --username &#91;USERNAME] --apitoken &#91;APITOKEN]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider namecom --username &#91;USERNAME] --apitoken &#91;APITOKEN]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to set up API credentials in Name.com<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Copy the Username and Token into the command above<\/li>\n\n\n\n<li>Log in to Name.com<\/li>\n\n\n\n<li>Go to <strong>Account Settings<\/strong><\/li>\n\n\n\n<li>Open <strong>API Tokens<\/strong><\/li>\n\n\n\n<li>Create a <strong>Production API Token<\/strong><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><a>Namecheap<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using Namecheap:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>namecheap<\/td><\/tr><tr><td>&#8211;apiuser<\/td><td>Your API Namecheap username<\/td><\/tr><tr><td>&#8211;username<\/td><td>Namecheap Username<\/td><\/tr><tr><td>&#8211;apikey<\/td><td>API Key<\/td><\/tr><tr><td>&#8211;clientip<\/td><td>Client IP<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider namecheap  --apiuser &#91;APIUSER] --username &#91;USERNAME] --apikey &#91;APIKEY] --clientip &#91;CLIENTIP]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider namecheap --apiuser &#91;APIUSER] --username &#91;USERNAME] --apikey &#91;APIKEY] --clientip &#91;CLIENTIP]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to set up API credentials in Namecheap<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to Namecheap<\/li>\n\n\n\n<li>Go to <strong>Profile \u2192 Tools<\/strong><\/li>\n\n\n\n<li>Open <strong>Namecheap API Access<\/strong><\/li>\n\n\n\n<li>Scroll down to Namecheap API and click on<strong> <\/strong><strong>\u201cManage\u201d<\/strong><\/li>\n\n\n\n<li>Enabling API access will allocate you an&nbsp;API Key.<\/li>\n\n\n\n<li>Copy your API key<\/li>\n\n\n\n<li>Whitelist your public IPv4 address that will be using the API Key within namecheap.com.<\/li>\n\n\n\n<li>Your Namecheap account username will also act as the API username.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><a>OVH<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments with the AutoInstall SSL installcertificate command to complete DNS validation using OVH:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Argument<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>&#8211;validationtype<\/td><td>dns<\/td><\/tr><tr><td>&#8211;validationprovider<\/td><td>ovh<\/td><\/tr><tr><td>&#8211;applicationkey &nbsp;<\/td><td>OVH Application Key<\/td><\/tr><tr><td>&#8211;applicationsecret<\/td><td>OVH Application Secret<\/td><\/tr><tr><td>&#8211;consumerkey<\/td><td>OVH Consumer Key<\/td><\/tr><tr><td>&#8211;origin<\/td><td>Origin is the OVH API region your account belongs to. For example: ovh-eu<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate \u2013token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider ovh  --applicationkey &#91;APPLICATIONKEY] --applicationsecret &#91;APPLICATIONSECRET] --consumerkey &#91;CONSUMERKEY] --origin &#91;ORIGIN]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider ovh  --applicationkey &#91;APPLICATIONKEY] --applicationsecret &#91;APPLICATIONSECRET] --consumerkey &#91;CONSUMERKEY] --origin &#91;ORIGIN]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to set up API credentials in OVH<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to OVHcloud Manager.<\/li>\n\n\n\n<li>Go to Identity, Security &amp; Operations &gt; API Keys.<\/li>\n\n\n\n<li>Click on \u201cCreate an API Key\u201d &nbsp;<\/li>\n\n\n\n<li>Enter the name of the API Key<\/li>\n\n\n\n<li>Set validity to \u201cUnlimited\u201d<\/li>\n\n\n\n<li>Enter the following set of rights for that API key:\n<ul class=\"wp-block-list\">\n<li><span style=\"font-size: clamp(0.875rem, 0.8358rem + 0.196vw, 1rem); letter-spacing: 0px;\">GET = \/domain\/zone\/*<\/span><\/li>\n\n\n\n<li><span style=\"font-size: clamp(0.875rem, 0.8358rem + 0.196vw, 1rem); letter-spacing: 0px;\">GET = \/domain\/zone\/*\/record<\/span><\/li>\n\n\n\n<li><span style=\"font-size: clamp(0.875rem, 0.8358rem + 0.196vw, 1rem); letter-spacing: 0px;\">POST = \/domain\/zone\/*\/record<\/span><\/li>\n\n\n\n<li>POST = \/domain\/zone\/*\/refresh<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create the API<strong> <\/strong>Key.<\/li>\n\n\n\n<li>Copy and securely store all three values (They will not be shown again):\n<ul class=\"wp-block-list\">\n<li><span style=\"font-size: clamp(0.875rem, 0.8358rem + 0.196vw, 1rem); letter-spacing: 0px;\">Application Key<\/span><\/li>\n\n\n\n<li><span style=\"font-size: clamp(0.875rem, 0.8358rem + 0.196vw, 1rem); letter-spacing: 0px;\">Application Secret<\/span><\/li>\n\n\n\n<li>Consumer Key<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><a><strong>RFC2136<\/strong><\/a> (BIND on Linux, including AlmaLinux and Amazon Linux 2)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use these arguments within the AutoInstall SSL install certificate command to complete DNS validation using RFC2136 dynamic updates:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td>Argument<\/td><td>What it is<\/td><td>Where it comes from<\/td><\/tr><\/thead><tbody><tr><td>&#8211;serverhost<\/td><td>Authoritative DNS server that accepts dynamic updates<\/td><td>DNS provider documentation, DNS administrator, or DNS server configuration<\/td><\/tr><tr><td>&#8211;serverport<\/td><td>Port the DNS server listens on for updates (usually 53)<\/td><td>DNS server configuration (optional if default)<\/td><\/tr><tr><td>&#8211;tsigkeyname<\/td><td>Name of the TSIG key used to authenticate updates<\/td><td>Provided when the TSIG key was created<\/td><\/tr><tr><td>&#8211;tsigkeysecret<\/td><td>Shared secret for the TSIG key<\/td><td>Provided when the TSIG key was created<\/td><\/tr><tr><td>&#8211;tsigkeyalgorithm<\/td><td>Algorithm used by the TSIG key (for example HMAC-SHA256)<\/td><td>DNS server configuration or key details<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example commands:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>AutoInstallSSL.exe installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider rfc2136  --serverhost &#91;SERVERHOST] --serverport &#91;SERVERPORT] --tsigkeyname &#91;TSIGKEYNAME] --tsigkeysecret &#91;TSIGKEYSECRET] --tsigkeyalgorithm &#91;TSIGKEYALGORITHM]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Linux: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo runautoinstallssl.sh installcertificate --token &#91;AutoInstall SSL Token] --validationtype dns --validationprovider rfc2136  --serverhost &#91;SERVERHOST] --serverport &#91;SERVERPORT] --tsigkeyname &#91;TSIGKEYNAME] --tsigkeysecret &#91;TSIGKEYSECRET] --tsigkeyalgorithm &#91;TSIGKEYALGORITHM]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To use RFC2136 for DNS-based certificate validation, you must provide details for an existing DNS server that supports RFC2136 dynamic updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AutoInstallSSL uses this information to securely create and remove DNS TXT records during certificate validation and reissues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What each value is used for<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Server host \/ port<\/strong>Identifies where AutoInstallSSL sends DNS update requests.<\/li>\n\n\n\n<li><strong>TSIG key name, secret, and algorithm<\/strong>Authenticate the request so only authorized systems can modify DNS records.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example values (for reference only)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Argument<\/strong><\/td><td><strong>Example<\/strong><\/td><\/tr><\/thead><tbody><tr><td>&#8211;serverhost<\/td><td>dns1.example.com<\/td><\/tr><tr><td>&#8211;serverport<\/td><td>53<\/td><\/tr><tr><td>&#8211;tsigkeyname<\/td><td><code>rfc2136-key<\/code><\/td><\/tr><tr><td>&#8211;tsigkeysecret<\/td><td><code>AbCdEfGhIjKlMnOpQrStUvWxYz1234567890=<\/code><\/td><\/tr><tr><td>&#8211;tsigkeyalgorithm<\/td><td><code>hmac-sha256<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These examples are illustrative only. Your actual values will differ. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to set up RFC2136 credentials<\/strong> <strong>(Example using BIND)<\/strong><\/h4>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default has-border-color has-text-color has-background has-link-color wp-elements-1 is-layout-flow wp-block-quote-is-layout-flow\" style=\"border-color:#ffe8a1;border-width:1px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;color:#6c5100;background-color:#fff8e1;margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20);padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">\n<p class=\"is-style-default wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" width=\"33\" height=\"31\" class=\"wp-image-2146\" style=\"width: 17px;margin:4px 10px 0px 6px;\" src=\"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png\" alt=\"\"> This guide is an example implementation using BIND on Linux. <\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Prerequisites<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Authoritative DNS server (for example, <strong>BIND<\/strong>) configured for the domain<\/li>\n\n\n\n<li>Existing DNS zone<\/li>\n\n\n\n<li>DNS server reachable from the AutoInstallSSL host<\/li>\n\n\n\n<li>TCP and UDP port 53 open between the AutoInstallSSL host and the DNS server(Port 53 is the default unless your DNS server is configured otherwise)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. TSIG Key Generation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2.1 Command<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tsig-keygen -a hmac-sha256 rfc2136-key &gt; \/etc\/named\/rfc2136-key.key<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Explanation<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>hmac-sha256<\/code> \u2192 <strong>Recommended secure TSIG algorithm<\/strong>(Other algorithms such as <code>hmac-sha512<\/code>, <code>hmac-sha1<\/code>, or <code>hmac-md5<\/code> may be supported by some systems, but <code>hmac-sha256<\/code> is recommended.)<\/li>\n\n\n\n<li><code>rfc2136-key<\/code> \u2192 TSIG key name<\/li>\n\n\n\n<li><code>\/etc\/named\/rfc2136-key.key<\/code> \u2192 Saves the key directly to a file<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Where can the TSIG key be placed<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Common &amp; recommended locations<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RHEL \/ CentOS \/ Rocky Linux \/ AlmaLinux \/ Amazon Linux 2<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/named\/rfc2136-key.key\n\/etc\/named\/keys\/rfc2136-key.key\n\/var\/named\/keys\/rfc2136-key.key<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu \/ Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/bind\/rfc2136-key.key\n\/etc\/bind\/keys\/rfc2136-key.key<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2.2 Ensure file permissions<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RHEL \/ CentOS \/ Rocky Linux \/ AlmaLinux \/ Amazon Linux 2<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chown root:named \/etc\/named\/rfc2136-key.key\nchmod 640 \/etc\/named\/rfc2136-key.key<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu \/ Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chown root:bind \/etc\/bind\/rfc2136-key.key\nchmod 640 \/etc\/bind\/rfc2136-key.key<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2.3 Sample TSIG Key<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>key \"rfc2136-key\" {\n    algorithm hmac-sha256;\n    secret \"AbCdEfGhIjKlMnOpQrStUvWxYz1234567890=\";\n};<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Configure BIND (named)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3.1 Include TSIG Key in BIND Configuration<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The TSIG key file must be explicitly included in the BIND configuration so that RFC2136 updates can be authenticated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RHEL \/ CentOS \/ Rocky Linux \/ AlmaLinux \/ Amazon Linux 2<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the main BIND configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vi \/etc\/named.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following line <strong>near the top of the file (before zone definitions)<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>include \"\/etc\/named\/rfc2136-key.key\";<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu \/ Debian<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the main BIND configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vi \/etc\/bind\/named.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following line <strong>before zone definitions<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>include \"\/etc\/bind\/rfc2136-key.key\";<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3.2 Allow Dynamic Updates for the Zone<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zone \"example.com\" IN {\n    type master;\n    file \"example.com.zone\";\n\n    \/\/ Enable RFC2136 dynamic DNS updates\n    \/\/ using the TSIG key generated earlier\n    allow-update { key \"rfc2136-key\"; };\n};<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. Restart DNS Service<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default has-border-color has-text-color has-background has-link-color wp-elements-2 is-layout-flow wp-block-quote-is-layout-flow\" style=\"border-color:#ffe8a1;border-width:1px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;color:#6c5100;background-color:#fff8e1;margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20);padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)\">\n<p class=\"is-style-default wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" width=\"33\" height=\"31\" class=\"wp-image-2146\" style=\"width: 17px;margin:4px 10px 0px 6px;\" src=\"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png\" alt=\"\"> Restarting the DNS service may briefly stop the server from answering domain name lookups.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>RHEL \/ CentOS \/ Rocky Linux \/ AlmaLinux \/ Amazon Linux 2<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart named\nsystemctl status named\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Ubuntu \/ Debian<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart bind9\nsystemctl status bind9\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before a certificate authority can issue an SSL certificate, it must verify that you control the domain name. This is commonly done by uploading a file, adding a DNS record, or clicking a link in an email. AutoInstall SSL uses the file validation method as default because it is the simplest way to complete validation<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[32],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-autoinstall-ssl"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using DNS Validation With AutoInstall SSL -<\/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:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using DNS Validation With AutoInstall SSL -\" \/>\n<meta property=\"og:description\" content=\"Before a certificate authority can issue an SSL certificate, it must verify that you control the domain name. This is commonly done by uploading a file, adding a DNS record, or clicking a link in an email. AutoInstall SSL uses the file validation method as default because it is the simplest way to complete validation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-01T19:17:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-14T12:26:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png\" \/>\n<meta name=\"author\" content=\"akhilthesiya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"akhilthesiya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/\"},\"author\":{\"name\":\"akhilthesiya\",\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/#\\\/schema\\\/person\\\/50490b9724625898b6602a34b2efdcf7\"},\"headline\":\"Using DNS Validation With AutoInstall SSL\",\"datePublished\":\"2024-10-01T19:17:25+00:00\",\"dateModified\":\"2026-08-14T12:26:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/\"},\"wordCount\":1846,\"image\":{\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/wp-content\\\/uploads\\\/Vector-1.png\",\"articleSection\":[\"AutoInstall SSL\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/\",\"url\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/\",\"name\":\"Using DNS Validation With AutoInstall SSL -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/wp-content\\\/uploads\\\/Vector-1.png\",\"datePublished\":\"2024-10-01T19:17:25+00:00\",\"dateModified\":\"2026-08-14T12:26:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/#\\\/schema\\\/person\\\/50490b9724625898b6602a34b2efdcf7\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#primaryimage\",\"url\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/wp-content\\\/uploads\\\/Vector-1.png\",\"contentUrl\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/wp-content\\\/uploads\\\/Vector-1.png\",\"width\":33,\"height\":31},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.geotrust.com\\\/resources\\\/using-dns-validation-with-autoinstall-ssl\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AutoInstall SSL\",\"item\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/kb\\\/autoinstall-ssl\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Using DNS Validation With AutoInstall SSL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/#\\\/schema\\\/person\\\/50490b9724625898b6602a34b2efdcf7\",\"name\":\"akhilthesiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a77d25d4df458f44334008f3eed691ebd9592de582e9897318b0415edf79be63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a77d25d4df458f44334008f3eed691ebd9592de582e9897318b0415edf79be63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a77d25d4df458f44334008f3eed691ebd9592de582e9897318b0415edf79be63?s=96&d=mm&r=g\",\"caption\":\"akhilthesiya\"},\"url\":\"https:\\\/\\\/certpanel.com\\\/resources\\\/author\\\/akhilthesiya\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using DNS Validation With AutoInstall SSL -","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.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/","og_locale":"en_US","og_type":"article","og_title":"Using DNS Validation With AutoInstall SSL -","og_description":"Before a certificate authority can issue an SSL certificate, it must verify that you control the domain name. This is commonly done by uploading a file, adding a DNS record, or clicking a link in an email. AutoInstall SSL uses the file validation method as default because it is the simplest way to complete validation","og_url":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/","article_published_time":"2024-10-01T19:17:25+00:00","article_modified_time":"2026-08-14T12:26:30+00:00","og_image":[{"url":"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png","type":"","width":"","height":""}],"author":"akhilthesiya","twitter_card":"summary_large_image","twitter_misc":{"Written by":"akhilthesiya","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#article","isPartOf":{"@id":"https:\/\/certpanel.com\/resources\/using-dns-validation-with-autoinstall-ssl\/"},"author":{"name":"akhilthesiya","@id":"https:\/\/certpanel.com\/resources\/#\/schema\/person\/50490b9724625898b6602a34b2efdcf7"},"headline":"Using DNS Validation With AutoInstall SSL","datePublished":"2024-10-01T19:17:25+00:00","dateModified":"2026-08-14T12:26:30+00:00","mainEntityOfPage":{"@id":"https:\/\/certpanel.com\/resources\/using-dns-validation-with-autoinstall-ssl\/"},"wordCount":1846,"image":{"@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#primaryimage"},"thumbnailUrl":"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png","articleSection":["AutoInstall SSL"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/certpanel.com\/resources\/using-dns-validation-with-autoinstall-ssl\/","url":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/","name":"Using DNS Validation With AutoInstall SSL -","isPartOf":{"@id":"https:\/\/certpanel.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#primaryimage"},"image":{"@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#primaryimage"},"thumbnailUrl":"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png","datePublished":"2024-10-01T19:17:25+00:00","dateModified":"2026-08-14T12:26:30+00:00","author":{"@id":"https:\/\/certpanel.com\/resources\/#\/schema\/person\/50490b9724625898b6602a34b2efdcf7"},"breadcrumb":{"@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#primaryimage","url":"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png","contentUrl":"https:\/\/certpanel.com\/resources\/wp-content\/uploads\/Vector-1.png","width":33,"height":31},{"@type":"BreadcrumbList","@id":"https:\/\/www.geotrust.com\/resources\/using-dns-validation-with-autoinstall-ssl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/certpanel.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/certpanel.com\/resources\/kb\/"},{"@type":"ListItem","position":3,"name":"AutoInstall SSL","item":"https:\/\/certpanel.com\/resources\/kb\/autoinstall-ssl\/"},{"@type":"ListItem","position":4,"name":"Using DNS Validation With AutoInstall SSL"}]},{"@type":"WebSite","@id":"https:\/\/certpanel.com\/resources\/#website","url":"https:\/\/certpanel.com\/resources\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/certpanel.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/certpanel.com\/resources\/#\/schema\/person\/50490b9724625898b6602a34b2efdcf7","name":"akhilthesiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a77d25d4df458f44334008f3eed691ebd9592de582e9897318b0415edf79be63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a77d25d4df458f44334008f3eed691ebd9592de582e9897318b0415edf79be63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a77d25d4df458f44334008f3eed691ebd9592de582e9897318b0415edf79be63?s=96&d=mm&r=g","caption":"akhilthesiya"},"url":"https:\/\/certpanel.com\/resources\/author\/akhilthesiya\/"}]}},"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":0,"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"wp:attachment":[{"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/certpanel.com\/resources\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}