Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Join Date
    Jan 2016
    Posts
    10
    Points
    245
    Level
    4

    LetsEncrypt issues

    So, I recently let InterWorx update itself which added the LetsEncrypt module. Apart from enabling the module I am having issues.

    First issue is:

    I can't generate SSL Certs.

    Hosting Features > Domain > SSL Certs
    and I click "Generate all with LetsEncrypt"

    I then receive the error message:
    Code:
     file(/var/log/letsencrypt/letsencrypt.log): failed to open stream: No such file or directory
    A system error has occurred. Please try your request again in a few minutes.
    If the error persists, please contact support.
    I also received the Cronjob error this morning with:
    Code:
    CLI_Cron_IWorx::_executeClass(/home/interworx/include/Cron/RenewLetsEncryptCerts.php): failed to open stream: No such file or directory
    A system error has occurred. Please try your request again in a few minutes.
    If the error persists, please contact support.
    Any suggestions? I've tried disabling the module and re-enabling it. Just thought I would post on the forum before I head to support.
    Last edited by David_; 03-03-2016 at 10:11 AM.

  2. The Following User Says Thank You to David_ For This Useful Post:


  3. #2
    Join Date
    Apr 2012
    Posts
    2,186
    Points
    24,547
    Level
    68
    Hi David

    Firstly, could I ask what distro your using, and if centos 6, was this an update from centos 5 - we had this issue on one of our servers, and it turns out on the upgrade to centos 6, it did not update some files from 5 to 6

    Does the domain your trying actually point to your server ie A records - if not LE would only work if the domain and DNS were pointing at the server

    Your first error is the path does not exist, so you could create it and that would resolve that issue

    It is your second error why I ask the above questions

    If you do open a support ticket, I would appreciate if you could update post when resolved

    Many thanks

    John

  4. The Following User Says Thank You to d2d4j For This Useful Post:


  5. #3
    Join Date
    Jan 2016
    Posts
    10
    Points
    245
    Level
    4
    CentOS 6 -- No previous upgrade from CentOS5.

    The domain has valid DNS and points via A records.
    I've tried touching/creating/chowning the logfile manually and doesn't solve the issue. When I do, I instead get
    Code:
     Installing SSL Certificate failed

    With no error's logged anywhere.
    Last edited by David_; 03-03-2016 at 10:19 AM.

  6. The Following User Says Thank You to David_ For This Useful Post:


  7. #4
    Join Date
    Apr 2012
    Posts
    2,186
    Points
    24,547
    Level
    68
    Hi David

    Many thanks, and I would advise you open a support ticket with your license provider

    As I said, if you don't mind updating once resolved that would be helpful

    Many thanks

    John

  8. The Following User Says Thank You to d2d4j For This Useful Post:


  9. #5
    Join Date
    Jan 2016
    Posts
    17
    Points
    900
    Level
    11
    Sorry to bring up a slight off-topic question, but is there any documentation for the LetsEncrypt plugin for InterWorx? I searched the basic support area, and for other related topics, but just that it's been integrated with InterWorx recently. It looks quite appealing to those whom can't afford to purchase outright SSL certs for small sites.

  10. The Following User Says Thank You to TechAlta For This Useful Post:


  11. #6
    Join Date
    Apr 2012
    Posts
    2,186
    Points
    24,547
    Level
    68
    Hi techalta

    I'm sorry, I do not believe there are any documentation on LE plugin.

    It has been integrated so you turn on or off from nodeworx plugins.

    If on, there are few things which need to correct, ie DNS must point to server with domain on it, and domain must exist

    The error I referred to above was not a fault of LE but one on our server using centos 5 and not centos 6 file, which when we did the upgrade to centos 6, did but upgrade all files, and retained some centos 5 files, which LE use, so errored.

    We are not to bothered about this, as this server is due to be replaced very soon anyway with a new server running IW

    Also, the SSL only covers the main domain you choose, so it would only cover either www.domain.url or domain.url, but not both as far as I understand. I could be wrong though, so apologies in advance

    I hope that helps

    Many thanks

    John

  12. The Following User Says Thank You to d2d4j For This Useful Post:


  13. #7
    Join Date
    Mar 2016
    Posts
    4
    Points
    123
    Level
    2
    I found a bug with the plugin. In the file /home/interworx/bin/install-letsencrypt.sh, line 34 there is a missing fi statement (closing out the IF).

    I notified support about it.

  14. The Following User Says Thank You to falconinternet For This Useful Post:


  15. #8
    Join Date
    Jul 2016
    Posts
    18
    Points
    949
    Level
    11
    I dont know this error from?

    Installing SSL Certificate failed!
    <!--[if IE 7]> <html class="no-js "

    SS
    http://prntscr.com/bqsy0v

  16. #9
    Join Date
    Apr 2012
    Posts
    2,186
    Points
    24,547
    Level
    68
    Hi khairil

    Welcome to IW forums

    What IW version are you using and what distro

    Lets encrypt was fully resolved in 5.1.22, and works lovely on our servers

    If your using 5.1.22, I might think it's connected with cloudflare, so I would turn off cloudflare and retry LE, then turn cloudflare back on

    I hope that helps

    Many thanks

    John

  17. #10
    Join Date
    Jul 2016
    Posts
    18
    Points
    949
    Level
    11
    InterWorx Version: InterWorx-CP v5.1.23 [Unlimited Domain]
    SiteWorx Accounts: 2 / Unlimited Used
    Distribution: CentOS Linux release 7.2.1511 (Core)
    Operating System: Linux 3.10.0-327.18.2.el7.x86_64 (SMP)

    Every got this error, my web server is down and I cannot start it, except I am reboot the server.

    Hem, i've disabled cloudflare, but still get error

    � Installing SSL Certificate failed!
    � FailedChallenges: Failed authorization procedure. khairil.xyz (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: SERVFAIL looking up A for khairil.xyz, www.khairil.xyz (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: SERVFAIL looking up A for www.khairil.xyz

    http://prntscr.com/bquf3p

  18. #11
    Join Date
    Jul 2016
    Posts
    18
    Points
    949
    Level
    11
    Generate succes, butt after few menute, my apache going down.
    http://prntscr.com/bquk03
    and i cannot start apache

  19. #12
    Join Date
    Apr 2012
    Posts
    2,186
    Points
    24,547
    Level
    68
    Hi khairil

    Glad LE resolved

    I do but think your Apache is connected with LE for Apache going down (unless you have changed any files)

    I think your on centos 7, so have you tried this post

    Many thanks

    John

    ~iworx/bin/cvspermsfix.pex

    ~iworx/bin/varpermsfix.pex

  20. #13
    Join Date
    Jul 2016
    Posts
    18
    Points
    949
    Level
    11
    Now I can start apache without reboot.
    But I am still not understand why my apache stopped after I am generate LE.

    is my apache error log is fine?
    http://prntscr.com/bqvgtc

  21. #14
    Join Date
    Apr 2012
    Posts
    2,186
    Points
    24,547
    Level
    68
    Hi khairil

    Glad it resolved your issue with Apache

    The LE did not stop Apache sorry, on centos 7 it can become slightly stuck on perms

    The LE failure to create SSL was because you had cloudflare on domain set enabled, therefore when LE checks the A records, it is no longer pointing at your server, and due to this, will not create SSL. To create SSL with LE, your domain must be on your server and your DNS A records must resolve to your server (not cloudflare )

    Many thanks

    John

  22. #15
    Join Date
    Jul 2016
    Posts
    18
    Points
    949
    Level
    11
    And again, Failed Generate Certificate with Let's Encrypt
    http://prntscr.com/br28du

    And my httpd is going down.
    my httpd status
    http://prntscr.com/br28s5

    When I am trying to start httpd
    http://prntscr.com/br29ve

    Finally I reboot my server and httpd running.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •