staticland-api: On own installation, “Unable to request certificate from Lets Encrypt” error during deploy

Getting this error when I try to deploy to my own Staticland server.

No immediately obvious errors / more information being logged. I feel this is an issue in my configuration settings for the Let’s Encrypt-related settings.

I’m not entirely sure where these should point to/their purpose:

    letsEncryptDir: '/home/staticland/letsencrypt',
    letsEncryptCommand: '/home/staticland/certbot-auto',
    letsEncryptChallengeDir: '/home/staticland/api/html',

Given that the account I’m using on my server is ubuntu, I currently have:

    letsEncryptDir: '/home/ubuntu/letsencrypt',
    letsEncryptCommand: '/home/ubuntu/certbot-auto',
    letsEncryptChallengeDir: '/home/ubuntu/staticland-api/html',

(1) Is an empty directory I made, assuming that Staticland will use it to store Let‘s Encrypt related files. <strike>Not sure if this should be the Let’s Encrypt folder that Let’s Encrypt was installed in (i.e., /etc/letsencrypt) – will try that next.</strike>

(2) I have certbot-auto at that path. This should be correct.

(3) This points to the html folder in my staticland-api installation. Assuming this, too, is correct.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24 (23 by maintainers)

Most upvoted comments

Hey @aral! Thanks for opening this and for all the notes as you’ve been debugging.

You might be the first person other than me to set up an instance, so I apologize if things are a little messy.

I’m busy right now but I’ll look at this (and your PR and issues on the cli repo) in depth later today.