Knowledgebase

Disable automatic SSL website creation

By default, Virtualmin creates an SSL website record in the webserver configuration and automatically tries to request a Let’s Encrypt certificate when setting up a new virtual server. Use the steps below to either create HTTP-only site or keep SSL but disable ACME at creation time. HTTP-only website In UI Go to System Settings → Features and Plugins, find Apache SSL website, uncheck Default?, and save. On Create Virtual Server, leave Setup Apache SSL website unchecked.

By default, Virtualmin creates an SSL website record in the webserver configuration and automatically tries to request a Let’s Encrypt certificate when setting up a new virtual server.

Use the steps below to either create HTTP-only site or keep SSL but disable ACME at creation time.

HTTP-only website#

  • In UI

    Go to System Settings → Features and Plugins, find Apache SSL website, uncheck Default?, and save. On Create Virtual Server, leave Setup Apache SSL website unchecked.

  • In CLI

    Omit the --ssl flag:

    virtualmin create-domain \
     --domain domain.tld \
     --pass 'password-for-new-domain' \
     --unix --dir --webmin --web --logrotate
    

Disable ACME during creation time#

  • In UI

    Go to System Settings → Server Templates, select your template, open SSL website for domain, set Request SSL certificate from provider at domain creation time to No, and save.

  • In CLI

    Use --acme-never with --ssl:

    virtualmin create-domain \
     --domain domain.tld \
     --pass 'password-for-new-domain' \
     --unix --dir --webmin --web --logrotate \
     --ssl --acme-never
    

Notes#

  • Re-enabling Default? for Apache SSL website hides the checkbox again (SSL chained to non-SSL sites).
  • After DNS is live, you can enable SSL and request Let’s Encrypt from Manage Virtual Server ⇾ Setup SSL Certificate page.

Source: https://www.virtualmin.com/docs/server-components/disable-automatic-ssl-website-creation/

  • virtualmin, webmin, apache, domain, dns, ssl, certificate, log, cli, disable, automatic, website, creation
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...