Download the PHP package roy-bongers/certbot-transip-dns-01-validator without Composer

On this page you can find all versions of the php package roy-bongers/certbot-transip-dns-01-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package certbot-transip-dns-01-validator

Workflow status Latest GitHub tag License GPL-3.0

certbot-transip-dns-01-validator

Certbot DNS-01 validation for wildcard certificates (ACME-v2)

I created this script to request wildcard SSL certificates from Let’s Encrypt. You are required to do a DNS-01 challenge for which you need to create a DNS (TXT) record. TransIP has an API which allows you to automate this. When you need to renew your certificate you also need to perform the DNS-01 challenge again. This should happen automatically.

Requirements

Version 2.5 has the following requirements. If you use an older PHP version you have to use an older release. Upgrading from v1? See the upgrade guide.

Installation

Request a wildcard certificate

Use this command to request the certificate. Replace "/path/to/" with the actual path on your system. It takes a couple of minutes for the nameservers to be updated. Please be patient until the validation completes.

If you need to do some testing add the staging flag to the certbot command:

To automatically renew your certificate add the Certbot renew command in a cron job so it runs at least monthly. `

Docker

There is also a docker container which you can use. You can either bind mount the config folder or use ENV variables. These variables are available: TRANSIP_LOGIN, TRANSIP_PRIVATE_KEY, LOGLEVEL, LOGFILE. Only the first two variables are required.

For information about values see config/config.php.example. Multiline values (the private key) can be a bit harder to set. Make sure the entire private key is stored in the TRANSIP_PRIVATE_KEY variable!

The application runs in the /opt/certbot-dns-transip directory and the certificates are created in /etc/letsencrypt.

And to renew certificates:

Supported platforms

The code is tested on a Debian based Linux distribution (Ubuntu LTS) and currently supported PHP versions (>= 7.4). It probably works fine on other systems and versions of PHP but no guarantees are made.

Upgrade guide

Version 2.0 is a complete rewrite of the code base and breaks with the original version. Follow these steps to upgrade:

  1. Checkout the latest master branch
  2. Follow the installation guide
  3. Remove the Transip folder after copying your login and private key to config/config.php
  4. You are ready to go!

Contributors

When creating an issue please include a detailed description of what you are trying to execute and any output you receive. Feel free to fork the project and create a pull request. Make sure your code complies with the PSR-12 coding standards.


All versions of certbot-transip-dns-01-validator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
monolog/monolog Version ^3.5
purplepixie/phpdns Version dev-master
php-di/php-di Version ^7.0
transip/transip-api-php Version ^6.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package roy-bongers/certbot-transip-dns-01-validator contains the following files

Loading the files please wait ....