---
title: acme.sh Integration with OpusDNS
description: Use acme.sh with the OpusDNS API to automate DNS-01 challenges and renew SSL/TLS certificates, wildcards included, without manual TXT records.
---

[Skip to content](https://help.opusdns.com/acme.sh-integration-with-opusdns#main-content)

- [English](https://help.opusdns.com/acme.sh-integration-with-opusdns)
- [Deutsch](https://help.opusdns.com/de/acme.sh-integration-with-opusdns)

English

Show submenu for translations

[![opusdns.com](https://help.opusdns.com/hs-fs/hubfs/v2-Status%20Center.png?width=180&height=51&name=v2-Status%20Center.png)](https://help.opusdns.com/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://help.opusdns.com/acme.sh-integration-with-opusdns)
    - [Deutsch](https://help.opusdns.com/de/acme.sh-integration-with-opusdns)

  English
  
  Show submenu for translations
- [Submit Ticket](https://support.opusdns.com/)

[Submit Ticket](https://support.opusdns.com/?hsLang=en)

 How can we help?

- There are no suggestions because the search field is empty.

1. [OpusDNS Knowledgebase](https://help.opusdns.com/?hsLang=en)
2. [Services & Features](https://help.opusdns.com/services-features?hsLang=en)
3. [Certificate Management with ACME and OpusDNS](https://help.opusdns.com/services-features?hsLang=en#certificate-management-with-acme-and-opusdns)

November 16, 2026

# acme.sh Integration with OpusDNS

## Automate DNS-01 validation and wildcard certificates with the acme.sh shell client

acme.sh is a lightweight, widely used ACME client written as a shell script. It issues and renews SSL/TLS certificates from Let's Encrypt and other ACME certificate authorities and runs on almost any Unix-like system without complex dependencies.

OpusDNS is supported directly in acme.sh with the DNS provider `dns_opusdns`. acme.sh creates the TXT records for the DNS-01 challenge through the OpusDNS API and removes them afterwards, so you get certificates, including wildcard certificates, without editing DNS records by hand. Background on certificates and ACME: [What Are SSL Certificates, and How Does ACME Work?](https://help.opusdns.com/what-are-digital-certificates-and-how-does-acme-work?hsLang=en)

 

### Requirements

- acme.sh 3.1.6 or later. Install or update acme.sh as described in the [acme.sh repository](https://github.com/acmesh-official/acme.sh).
- The domain's DNS zone is hosted at OpusDNS.
- An OpusDNS API key. Create it under **Developer \> API Credentials**, see [Creating API Credentials](https://help.opusdns.com/creating-api-credentials?hsLang=en).

 

### Setup

1. Set your API key as an environment variable:
   
   ```
   export OPUSDNS_API_Key="opk_..."
   ```
   
    Note the spelling: acme.sh expects `OPUSDNS_API_Key` with a lowercase "ey".
2. Issue the certificate with the OpusDNS DNS provider:
   
   ```
   acme.sh --issue --dns dns_opusdns -d example.com -d '*.example.com'
   ```

acme.sh saves the API key for later renewals. Optionally, you can set `OPUSDNS_TTL` for the TTL of the challenge records (default 60 seconds).

 

### Renewal

When you install acme.sh, it sets up a cron job that renews your certificates automatically before they expire. You don't need to do anything else for renewals.

 

### More information

- acme.sh documentation for OpusDNS: [acme.sh wiki, dns\_opusdns](https://github.com/acmesh-official/acme.sh/wiki/dnsapi2#dns_opusdns)
- acme.sh repository: [github.com/acmesh-official/acme.sh](https://github.com/acmesh-official/acme.sh)

[![OpusDNS GitHub banner: Deploy faster with our official tools on GitHub, with the button View Our GitHub](https://help.opusdns.com/hs-fs/hubfs/Knowledge%20Banner_%20Github%20Dark%20(1).jpg?width=670&height=174&name=Knowledge%20Banner_%20Github%20Dark%20(1).jpg)](https://github.com/OpusDNS?utm_source=knowledgebase&utm_medium=referral&utm_campaign=signup&utm_content=cta_banner)

- [Create your OpusDNS account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#main-content)

    - [Open Your Account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#open-your-account)
    - [FAQ](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#faq)
    - [Getting Help with your Registration](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#getting-help-with-your-registration)
- [OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#main-content)

    - [Getting Started with the API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-started-with-the-api)
    - [Sandbox Environment](https://help.opusdns.com/opusdns-api?hsLang=en#sandbox-environment)
    - [OpusDNS MCP Server](https://help.opusdns.com/opusdns-api?hsLang=en#opusdns-mcp-server)
    - [FAQ](https://help.opusdns.com/opusdns-api?hsLang=en#faq)
    - [Getting Help with the OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-help-with-the-opusdns-api)
- [OpusDNS Dashboard](https://help.opusdns.com/opusdns-dashboard?hsLang=en#main-content)

    - [Getting Started](https://help.opusdns.com/opusdns-dashboard?hsLang=en#getting-started)
    - [Plans & Pricing](https://help.opusdns.com/opusdns-dashboard?hsLang=en#plans-pricing)
    - [Billing & Payments](https://help.opusdns.com/opusdns-dashboard?hsLang=en#billing-payments)
    - [User & Organization Management](https://help.opusdns.com/opusdns-dashboard?hsLang=en#user-organization-management)
    - [Whitelabeling](https://help.opusdns.com/opusdns-dashboard?hsLang=en#whitelabeling)
    - [Account & Settings](https://help.opusdns.com/opusdns-dashboard?hsLang=en#account-settings)
    - [Security](https://help.opusdns.com/opusdns-dashboard?hsLang=en#security)
    - [AI Concierge](https://help.opusdns.com/opusdns-dashboard?hsLang=en#ai-concierge)
    - [Managing Contacts](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-contacts)
    - [Managing DNS Zones & Nameservers](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-dns-zones-nameservers)
    - [Register & Transfer Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#register-transfer-domains)
    - [Managing Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-domains)
    - [Bulk Jobs](https://help.opusdns.com/opusdns-dashboard?hsLang=en#bulk-jobs)
    - [Developer Area](https://help.opusdns.com/opusdns-dashboard?hsLang=en#developer-area)
    - [Dashboard Functionality](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-functionality)
    - [Dashboard home page](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-home-page)
- [Services & Features](https://help.opusdns.com/services-features?hsLang=en#main-content)

    - [Domain forwarding](https://help.opusdns.com/services-features?hsLang=en#domain-forwarding)
    - [Email forwarding](https://help.opusdns.com/services-features?hsLang=en#email-forwarding)
    - [Reports](https://help.opusdns.com/services-features?hsLang=en#reports)
    - [Domain parking](https://help.opusdns.com/services-features?hsLang=en#domain-parking)
    - [WHMCS Integration](https://help.opusdns.com/services-features?hsLang=en#whmcs-integration)
    - [Hostware Integration](https://help.opusdns.com/services-features?hsLang=en#hostware-integration)
    - [Terraform Integration](https://help.opusdns.com/services-features?hsLang=en#terraform-integration)
    - [GO Integration](https://help.opusdns.com/services-features?hsLang=en#go-integration)
    - [Certificate Management with ACME and OpusDNS](https://help.opusdns.com/services-features?hsLang=en#certificate-management-with-acme-and-opusdns)
- [New to the Domain Industry?](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#main-content)

    - [Everything about Domains](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#everything-about-domains)
    - [Domain Industry](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#domain-industry)
    - [Reseller Essentials](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#reseller-essentials)

- [OpusDNS Homepage](https://www.opusdns.com/)
- [Legal Notice](https://www.opusdns.com/legal/notice-impressum)
- [Privacy Policy](https://www.opusdns.com/legal/privacy-policy)
- [Terms & Conditions](https://www.opusdns.com/legal/terms-conditions)

[![OpusDNS Homepage](https://help.opusdns.com/hubfs/6722ae7333e645c8919a4751_opusDNS-VT-3c-white-tagline.svg "OpusDNS Homepage")](https://www.opusdns.com/)

©2025 OpusDNS GmbH. All rights reserved.

<https://www.linkedin.com/company/opusdns/>

![icann](https://help.opusdns.com/hubfs/icann.svg).