Skip to content

cdmon dns plugin certbot #4461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rascazzione opened this issue Mar 30, 2025 · 1 comment
Open

cdmon dns plugin certbot #4461

rascazzione opened this issue Mar 30, 2025 · 1 comment
Labels
dns provider request This issue is a request to integrate a new DNS-challenge provider

Comments

@rascazzione
Copy link

rascazzione commented Mar 30, 2025

What provider would you like to see added to NPM?

cdmon.com, they are an Spanish domain and DNS provider and offer free DNS services. I've created the certbot plugin, tested, and deployed as a pip package, after some weecknds working on it ;D

Have you checked if a certbot plugin exists?

Yes, certbot exists as a pip package

https://pypi.org/project/certbot-dns-cdmon/

And here is the git directory

https://github.com/rascazzione/certbot-dns-cdmon

I've prepared the data for certbot-dns-plugins.json

	"cdmon": {
		"name": "cdmon",
		"package_name": "certbot-dns-cdmon",
		"version": "~=0.3.2",
		"dependencies": "",
		"credentials": "dns_cdmon_api_key=your-cdmon-api-token",
		"full_plugin_name": "dns-cdmon"
	},

I tried to compile the image, but I don't know why it doesn't appear in the compiled image after modifying and recompiling via docker compose (maybe it is necessary to rebuild frontend?).

Thank you very much!!!

@rascazzione rascazzione added the dns provider request This issue is a request to integrate a new DNS-challenge provider label Mar 30, 2025
@rascazzione
Copy link
Author

rascazzione commented Apr 5, 2025

In the end I was able to test it when recompiling the frontend, I just had to execute the script that is already enabled (after some research I found it).

sudo ./scripts/ci/frontend-build

Then create a docker-compose.yml with

services:
  app:
    build:
      # Specifies the path to the directory containing the Dockerfile and source code
      context: ${REPO_PATH}/nginx-proxy-manager
      # Specifies the path to the Dockerfile RELATIVE to the context above
      dockerfile: docker/Dockerfile
    restart: unless-stopped
    ports:
      # These ports are exposed on your host machine.
      - '80:80'    # HTTP traffic
      - '81:81'    # Admin interface
      - '443:443'  # HTTPS traffic
    volumes:
      # These volumes persist data outside the container.
      # Ensure these paths (./data, ./letsencrypt) exist where you run docker-compose
      # or use absolute paths if preferred.
      - ${DATA_PATH}/data:/data                     # NPM data (configurations, users, etc.)
      - ${LETS_ENCRYPT_PATH}/letsencrypt:/etc/letsencrypt   # Let's Encrypt certificates

sudo docker compose up -d --build

When testing it, I saw that the plugin had a bug that I have corrected and I have updated to version 0.4.1

 "cdmon": {
                "name": "cdmon",
                "package_name": "certbot-dns-cdmon",
                "version": "~=0.4.1",
                "dependencies": "",
                "credentials": "dns_cdmon_api_key=your-cdmon-api-token\ndns_cdmon_domain=your_domain_is_optional",
                "full_plugin_name": "dns-cdmon"
        },

And here is my first certificate with cdmon and nginx proxy manager :D

Image

PD. Sorry for the multiples edits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dns provider request This issue is a request to integrate a new DNS-challenge provider
Projects
None yet
Development

No branches or pull requests

1 participant