How do I use EuropeanSSL with Certbot?


Certbot is a well-known and proven ACME client that is pre-installed by many hosting providers.

1
Installation of Certbot

Unlike, for example, acme.sh, Certbot requires root privileges. Installation on shared or managed hosting is therefore generally not possible unless provided by the service provider. In this case, check whether Certbot is already pre-installed by running certbot --version. If not, we recommend using another ACME client, such as acme.sh.

The installation depends on your server's operating system. The following commands are examples for installation on Debian or other Linux distributions based on the "apt" package manager.

Choose between certbot with the Apache plugin:

sudo apt install certbot python3-certbot-apache

or with the Nginx plugin:

sudo apt install certbot python3-certbot-nginx

depending on which web server you are using.

2
Set up ACME account

To use EuropeanSSL with the ACME protocol, you must first create an ACME account in the Eunetic customer interface. This will provide you with credentials for the so-called "External Account Binding" (EAB), consisting of a key (HMAC Key) and a corresponding user identification (Key ID). You can find further details about EuropeanSSL ACME accounts in the FAQ entry:

 What is a EuropeanSSL ACME account and how are SSL certificates billed?

3
Set EuropeanSSL as preferred CA (optional)

You can use EuropeanSSL as the default CA for Certbot by editing Certbot's cli.ini configuration file:

sudo nano /etc/letsencrypt/cli.ini

Add the following line to it (or replace an existing configuration of the "server" parameter):

server = https://acme.eunetic.net/dv
eab-kid = <EAB KEY ID>
eab-hmac-key = <EAB HMAC KEY>

For certificates with organization validation (OV), replace /dv with /ov.

Replace the <> placeholders with the values shown to you in our customer interface using the "EAB credentials" button.

Note: This change can only be made with root privileges. If necessary, skip this step and use the additional parameters listed in the next step instead. Certificate orders previously set up via Certbot will not be affected by this change and will continue to be renewed via their original CA.

4
Retrieve certificate

From now on, you can retrieve and install certificates for all domains set up in your ACME account. For example, the following command retrieves a simple single certificate for the domain "yourdomain.com" and uses the Nginx plugin for automatic setup on the web server.

sudo certbot --nginx \
--agree-tos \
--email hostmaster@ihredomain.de \
--d yourdomain.com \

If you are using Apache, replace --nginx with --apache.

Specifying an email address via the --email parameter is optional; if desired, you will receive notifications about upcoming renewals or error messages.

IMPORTANT: If you did not complete the optional step 3, add the following parameters to the above command:

  --server https://acme.sectigo.com/v2/DV \
--eab-kid <EAB KEY ID> \
--eab-hmac-key <EAB HMAC KEY> \

The certificates are valid for a maximum of 90 days and will be automatically renewed by Certbot every 60 days, until you remove the job with sudo certbot delete or your ACME account expires.

You can combine multiple domains into one certificate by appending each of them to the command with -d yourotherdomain.com. Wildcard domains can also be included with -d '*.yourdomain.com'. However, make sure that you have previously ordered and activated all listed domains in the EuropeanSSL ACME account for the certificate request.

For more information, please refer to the official documentation.


You may also be interested in...
Year in review: The top cyber security threats of 2023 and how to prepare for 2024

The year 2023 has been packed with technological advances, which has also evolved the tactics used by cybercriminals to exploit vulnerabilities and compromise sensitive data.

The importance of regular security audits for your IT infrastructure

In this article, we tackle the critical issue of regular security audits and discuss why these audits are essential, their benefits, and how they work.

The effects of the GDPR on IT security

This article looks at the impact of the GDPR on IT security and explains its role in strengthening data protection safeguards, reshaping cybersecurity strategies and promoting a culture of data protection.

Exploring the Variances Between Email Encryption and Email Authentication

Unlock the secrets of email security! Dive into our comprehensive guide on the crucial roles of email encryption and authentication, their mechanisms, benefits, and best practices.

Secure Your Business Email Accounts: 10 Essential Steps

Discover how to fortify your business email against cyber threats! Learn the top 9 essential steps in our latest guide to boost your email security and protect sensitive data.

How to detect and avoid a phishing attack

Protecting Your Business from Phishing Attacks: Types, Dangers, and Prevention Strategies. Learn how to recognize and avoid phishing attacks to safeguard your company's data and reputation.

How to protect your company from insider threats

Insider threats are another major threat to organizations, in addition to external threats. In this article, you will learn what exactly insider threats are, why they arise and how you can protect your company against them.

Security Considerations for Cloud Services

Cloud services offer notable advantages such as scalability, cost-efficiency and accessibility, but also raise significant security concerns that cannot be overlooked. As organizations migrate their operations to the cloud, ensuring the security of sensitive data and resources becomes a priority. While the cloud offers unmatched convenience and flexibility, it also brings new challenges that organizations must address comprehensively.

Top WAF Features to Look for in 2025

Discover the future of web security! Learn the top WAF features in 2025, from AI integration and zero-day attack protection to advanced threat intelligence and API security. Stay ahead in cybersecurity!