> For the complete documentation index, see [llms.txt](https://docs.sikka.io/vps-workbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sikka.io/vps-workbook/ssl-debugging.md).

# SSL Debugging

## **Find the cause of the problem**

Visit the following link to see the error log

```
https://YOU_IP:8090/serverstatus/cyberCPMainLogFile
```

## **Issue the SSL certificate from the terminal**

1. Run the following command and replace [c01.sikka.io](http://c01.sikka.io) with the target domain

```
/root/.acme.sh/acme.sh --issue -d c01.sikka.io --cert-file /etc/letsencrypt/live/c01.sikka.io/cert.pem --key-file /etc/letsencrypt/live/c01.sikka.io/privkey.pem --fullchain-file /etc/letsencrypt/live/c01.sikka.io/fullchain.pem -w /usr/local/lsws/Example/html --force --debug
```

or

```
/root/.acme.sh/acme.sh --issue -d c01.sikka.io --cert-file /etc/letsencrypt/live/c01.sikka.io/cert.pem --key-file /etc/letsencrypt/live/c01.sikka.io/privkey.pem --fullchain-file /etc/letsencrypt/live/c01.sikka.io/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
```

2. Log and copy the certificate content from the terminal (replace [c01.sikka.io](http://c01.sikka.io) with the target domain) and paste it in a temporary place

```
cat /root/.acme.sh/c01.sikka.io_ecc/c01.sikka.io.cer
```

3. Similar to step 2 but this time for the key of the certificate

```
cat /root/.acme.sh/c01.sikka.io_ecc/c01.sikka.io.key
```

4. Paste the certificate and key in Cyberpanel

<figure><img src="https://t613523.p.clickup-attachments.com/t613523/3b8b4bbd-a8ad-44a7-a4b2-72c6c5766bbc/add_ssl_manually.gif" alt=""><figcaption></figcaption></figure>

5. If the issue presists, run the following command:

```
wget -O - https://get.acme.sh | sh
```
