The server's Let's Encrypt certificate is not issued or not renewed
This page is intended for BeBackup server administrators who want a certificate trusted by workstations, obtained and renewed automatically. It sets out the conditions to be met, the procedure in the web interface, and the failure messages. It applies to BeBackup server 7.
A certificate issued by a trusted authority spares agents any errors when verifying the server certificate. The server obtains it through the ACME protocol (Automatic Certificate Management Environment), the one used by Let's Encrypt.
What you will obtain
At the end of this procedure:
- the BeBackup server presents a certificate issued by the chosen authority;
- the server renews it on its own, before expiry, if you have enabled this.
Prerequisites
The web interface sets out three conditions, all of which must be met:
- The requested name must point to this server. The DNS name (Domain Name System) must resolve to the public address through which the Internet reaches the BeBackup server.
- Port 443 must be reachable from the Internet. No other port is required. The authority connects to this port to verify the name: it must reach the BeBackup server itself.
- This does not work behind a reverse proxy that terminates TLS (Transport Layer Security). In that case, it is the proxy that would answer the authority, instead of the BeBackup server.
Other conditions:
- An IP address or a local name cannot be certified: a public domain name is required. The server rejects the request before sending it to the authority. A port number appended to the name is stripped.
- The authority must offer the
tls-alpn-01challenge, the only one the BeBackup server can answer. Let's Encrypt offers it: it is the recommended authority. - Some authorities, such as ZeroSSL, require an account binding identifier and key, known as EAB (External Account Binding). You will find them in your customer area at the authority. Let's Encrypt does not require them.
Steps
- In the web interface, open the server configuration,
Securitytab. - In the
Automatic certificate (ACME)section, openSettings. - Choose the
Certificate authority. The list offersLet's Encrypt,Buypass Go SSL,ZeroSSLandCustom (free-form address). ChooseLet's Encrypt, unless you have a particular reason not to. Do not chooseBuypass Go SSL: this service is no longer a suitable option. Before choosing another authority, check that it offers thetls-alpn-01challenge. - Fill in the
Contact address. Most authorities require it. It is used to warn you before expiry. - For an authority that requires it, fill in
Account binding identifier (EAB)andAccount binding HMAC key (EAB). - For a custom authority only, fill in the
ACME directory address. - Tick
Renew the certificate automaticallyif you want automatic renewal. - Save the settings.
- In
Obtain a certificate now, enter theNames to certify, separated by commas. For example:backup.example.com. - Click
Obtain the certificate. The request takes one to two minutes, the time needed for the authority to verify the name. Do not leave the page during this time.
Checking that it worked
- The web interface displays
Certificate obtained and installed as the server's standalone certificate (… bytes).. - From a workstation, the agent's connection test succeeds with the
Verify the server certificatebox ticked, using the certified name as the server address. - Automatic renewal is triggered when 30 days or less remain before the certificate expires. If it fails, it is retried on the next pass.
Renewal applies to the standalone certificate installed on the server, whether it came from ACME or not. If you have installed a purchased certificate and the
Renew the certificate automaticallybox is ticked, it will be replaced by an ACME certificate 30 days before it expires. Untick the box if you want to keep your purchased certificate.
Failure messages
| Message | Cause and correction |
|---|---|
Request not sent to the authority: "…" (…). A public authority only certifies public domain names… | The Names to certify contain an IP address or a local name. Enter a public domain name that points to the server. |
The authority did not validate "…" (status "…"). Check that this name does point to this server and that port 443 is reachable from the Internet. | The authority could not reach the BeBackup server under this name. Check the DNS record, the forwarding of port 443 on your router or firewall, and the absence of a reverse proxy. Another web service occupying public port 443 produces the same error. |
The authority does not offer the tls-alpn-01 challenge for "…". This server can only answer that one, because it is the only one requiring no additional port to be opened. | The chosen authority does not offer the verification method used by BeBackup. Choose Let's Encrypt. |
No domain to certify. | The Names to certify field is empty. |
Unknown ACME provider or empty directory URL: "…". | For a custom authority, the ACME directory address is empty. |
External account binding requires BOTH values: the identifier (kid) and the key (HMAC). One without the other is of no use. | Only one of the two EAB fields is filled in. Fill in both, or neither. |
If automatic renewal does not happen
Renewal does not produce a message in the web interface. Its results are written to the main server log. If a certificate renewed by ACME comes within 15 days of expiry, renewal has failed up to that point: the server then sends a notification to the administrators.
The most frequent cases:
- no standalone certificate is installed on the server: there is nothing to renew, obtain a certificate first;
- the installed certificate only covers IP addresses: no authority can renew it, obtain a certificate for a name;
- port 443 is no longer reachable from the Internet, or the name no longer points to the server.
If renewal fails even though the three conditions are met, contact BeBackup support with the main server log.
BeBackup is backup built for IT service providers
Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.