# Acme.sh - SSL Creation

Acme.sh is a lightweight, pure Unix shell script that acts as an ACME client to automatically issue, renew, and install free SSL/TLS certificates from Let's Encrypt. Unlike Certbot Acme.sh uses bash commands to execute commands where Certbot uses Python to operate. This guide will will demonstrate how to install, issue, and use Acme.sh.

Table of Contents





If you're already using Certbot there's likely no need to use Acme.sh unless you intend to switch.



As of April 21st 2026 Ubuntu is listed as a failed testing operating system for Acme.sh. Take caution if installing on Ubuntu operating systems.



Why Use Acme.sh





No dependencies (pure bash)



Lightweight and portable



Supports DNS and webroot challenge methods



Supports ECDSA certificates



Support SAN and wildcard certificates



No need for system packages like certbot or python3-certbot-nginx





Initial Installation

To install Acme.sh to a Linux operating system it can be installed with the curl or wget commands.

curl https://get.acme.sh | sh -s email=my@example.com

or

wget -O -  https://get.acme.sh | sh -s email=my@example.com





Issue a Certificate

To create a certificate for a domain it's fairly simple to achieve with Acme.sh.





Create an A Record and make sure it's pointed to the server that the certificate will be created on



Run the below Acme.sh command replacing the example.com with the relevant domain

acme.sh --issue -d example.com -w /home/wwwroot/example.com





The certificate will create an issue.



For more advanced usage with web-servers like Apache2 and Nginx refer to the official documentation - https://github.com/acmesh-official/acme.sh#3%EF%B8%8F%E2%83%A3-install-the-certificate-to-apachenginx





Remove a Certificate

To remove an existing certificate the remove flag on the command will perform this action

acme.sh --remove -d example.com





Further Documentation

For further information, guides, and documentation for Acme.sh view the GitHub repository at the below link.

https://github.com/acmesh-official/acme.sh

[Acme.sh](http://acme.sh) is a lightweight, pure Unix shell script that acts as an ACME client to automatically issue, renew, and install free SSL/TLS certificates from Let's Encrypt. Unlike Certbot [Acme.sh](http://Acme.sh) uses [bash commands](https://www.w3schools.com/bash/bash_commands.php) to execute commands where Certbot uses Python to operate. This guide will will demonstrate how to install, issue, and use Acme.sh.

**Table of Contents**

> **Info:** If you're already using Certbot there's likely no need to use [Acme.sh](http://Acme.sh) unless you intend to switch.

> **Warning:** As of April 21st 2026 Ubuntu is listed as a failed testing operating system for [Acme.sh](http://Acme.sh). Take caution if installing on Ubuntu operating systems.

---

## Why Use [Acme.sh](http://Acme.sh)

- No dependencies (pure bash)
- Lightweight and portable
- Supports DNS and webroot challenge methods
- Supports **ECDSA** certificates
- Support **SAN** and **wildcard** certificates
- No need for system packages like `certbot` or `python3-certbot-nginx`

---

## Initial Installation

To install [Acme.sh](http://Acme.sh) to a Linux operating system it can be installed with the `curl` or `wget` commands.

```
curl https://get.acme.sh | sh -s email=my@example.com
```

or

```
wget -O -  https://get.acme.sh | sh -s email=my@example.com
```

---

## Issue a Certificate

To create a certificate for a domain it's fairly simple to achieve with [Acme.sh](http://Acme.sh).

1. Create an A Record and make sure it's pointed to the server that the certificate will be created on
2. Run the below [Acme.sh](http://Acme.sh) command replacing the `example.com` with the relevant domain

```
acme.sh --issue -d example.com -w /home/wwwroot/example.com
```

3. The certificate will create an issue.

For more advanced usage with web-servers like Apache2 and Nginx refer to the official documentation - [https://github.com/acmesh-official/acme.sh#3%EF%B8%8F%E2%83%A3-install-the-certificate-to-apachenginx](https://github.com/acmesh-official/acme.sh#3%EF%B8%8F%E2%83%A3-install-the-certificate-to-apachenginx)

---

## Remove a Certificate

To remove an existing certificate the remove flag on the command will perform this action

```
acme.sh --remove -d example.com
```

---

## Further Documentation

For further information, guides, and documentation for [Acme.sh](http://Acme.sh) view the GitHub repository at the below link.

[https://github.com/acmesh-official/acme.sh](https://github.com/acmesh-official/acme.sh)
