Unable to install Let's Encrypt certificate for domain in Plesk: Could not obtain directory: cURL error 77

Follow

Comments

4 comments

  • Avatar
    Jeroen Meeuwissen

    I get the same problem, and if I go to http://acme-v01.api.letsencrypt.org/ it does not yield a valid response. If I go to https://acme-v01.api.letsencrypt.org/ however, it does give me a valid response. Could it be that curl does not connect via https?

  • Avatar
    Ivan Postnikov

    Hello @Jeroen, 

    > Could it be that curl does not connect via https?

    curl is capable of doing this.

    Please, could you try this article.

     

  • Avatar
    Jos Fabre

    The 77 error indicates that plesk cannot read a certificate file. 

    Plesk also indicates that a certificate was installed.

    This implies that the request was valid and there was an error saving the files. 

    Perhaps a file rights thing. However, this is a brand new vps with plesk and latest updates...

    Any resolutions yet?

     

    CURLE_SSL_CACERT_BADFILE (77)
    Problem with reading the SSL CA cert (path? access rights?)
    source: https://curl.haxx.se/libcurl/c/libcurl-errors.html

  • Avatar
    Artyom Volov

    Hello @Jos,

    Could you provide a little more details regarding the issue - the error is shown when you are trying to secure a domain with Let's Encrypt?  http://acme-v01.api.letsencrypt.org/ is available for you? Have you tried updating curl package by using instructions from the article?

Please sign in to leave a comment.

Have more questions? Submit a request