Skip to content

Unable to Generate SSL Certs (Let's Encrypt)  #250

@HNGamingUK

Description

@HNGamingUK

Hello,

So when I go to create a new SSL Certificate within the "SSL Certificates" tab or via Proxy Hosts, it loads for sometime and then just provides "Internal Error"

Looking in /var/log/letsencrypt.log I found the following at the bottom:

2019-12-03 01:05:58,272:DEBUG:certbot.storage:Archive directory /etc/letsencrypt/archive/npm-6 and live directory /etc/letsencrypt/live/npm-6 created. 2019-12-03 01:05:58,274:DEBUG:certbot.log:Exiting abnormally: Traceback (most recent call last): File "/usr/bin/certbot", line 11, in <module> load_entry_point('certbot==0.28.0', 'console_scripts', 'certbot')() File "/usr/lib/python3/dist-packages/certbot/main.py", line 1340, in main return config.func(config, plugins) File "/usr/lib/python3/dist-packages/certbot/main.py", line 1225, in certonly lineage = _get_and_save_cert(le_client, config, domains, certname, lineage) File "/usr/lib/python3/dist-packages/certbot/main.py", line 121, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/usr/lib/python3/dist-packages/certbot/client.py", line 410, in obtain_and_enroll_certificate self.config) File "/usr/lib/python3/dist-packages/certbot/storage.py", line 1053, in new_lineage target[kind]) OSError: [Errno 95] Operation not supported: '../../archive/npm-6/cert1.pem' -> '/etc/letsencrypt/live/npm-6/cert.pem' 2019-12-03 01:05:58,278:ERROR:certbot.log:An unexpected error occurred: 2019-12-03 01:05:59,238:DEBUG:certbot.util:Exception occurred releasing lock: LockFile(/var/log/letsencrypt/.certbot.lock) <released> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/certbot/util.py", line 141, in _release_locks dir_lock.release() File "/usr/lib/python3/dist-packages/certbot/lock.py", line 122, in release compat.release_locked_file(self._fd, self._path) File "/usr/lib/python3/dist-packages/certbot/compat.py", line 154, in release_locked_file os.remove(path) OSError: [Errno 16] Device or resource busy: '/var/log/letsencrypt/.certbot.lock' 2019-12-03 01:06:00,199:DEBUG:certbot.util:Exception occurred releasing lock: LockFile(/etc/letsencrypt/.certbot.lock) <released> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/certbot/util.py", line 141, in _release_locks dir_lock.release() File "/usr/lib/python3/dist-packages/certbot/lock.py", line 122, in release compat.release_locked_file(self._fd, self._path) File "/usr/lib/python3/dist-packages/certbot/compat.py", line 154, in release_locked_file os.remove(path) OSError: [Errno 16] Device or resource busy: '/etc/letsencrypt/.certbot.lock'

Wonder if anyone has got this before, I had a quick look and could not see this kind of error.

The cert then creates itself in the "SSL Certificates" tab with an expiry of approx same date and time when I clicked the "Save" button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions