• exec/letsyncrypt.js

    From deuce@VERT to CVS commit on Tue Mar 27 15:36:00 2018
    exec letsyncrypt.js 1.32 1.33
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13132

    Modified Files:
    letsyncrypt.js
    Log Message:
    Don't try ten times to delete files that don't exist.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Dec 24 13:39:00 2018
    exec letsyncrypt.js 1.33 1.34
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6157

    Modified Files:
    letsyncrypt.js
    Log Message:
    Added some file.open/create failure handling/logging - just in case.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jul 24 11:19:51 2019
    exec letsyncrypt.js 1.34 1.35
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28129

    Modified Files:
    letsyncrypt.js
    Log Message:
    Add GroupReadableKeyFile letsyncrypt.ini option (default: false)
    When set to true, enables group read permissions on the ssl.cert file
    (using the new file_chmod() global function).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Fri Jan 1 06:01:14 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e2e83629384d7540eda63a05
    Modified Files:
    exec/letsyncrypt.js
    Log Message:
    Remove nonsensical warning added in 89956b3d0c

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Mon Jan 25 09:14:23 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d4bdf4ff5028e0c7709de1f0
    Modified Files:
    exec/letsyncrypt.js
    Log Message:
    Properly parse web hostname from sbbs.ini

    Get both the webroot and web hostname from sbbs.ini rather than use system.inet_addr. system.inet_addr is configured in the messages
    section, so it's implied that it's for email addresses.

    Also, allow configuring the sysop email address with the SysopEmail
    global key in the ini file.

    This is a cleanup and duplicate of !82

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Mar 10 10:44:05 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/00e0498cdaf72390e104d300
    Modified Files:
    exec/letsyncrypt.js
    Log Message:
    If the service host is changed, the old private key is invalid.

    Just delete the old private key and create a new one for the new
    host.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 30 15:52:53 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ba5462ba1e8444d8416bde8f
    Modified Files:
    exec/letsyncrypt.js
    Log Message:
    Insure the web RootDirectory ends in a slash.

    Reported by Compctech via DOVE-Net:

    "On a side note, I had to modify the letsyncrypt.js file to get letsencrypt to work. I had to add a / before .well-known on lines 86 - 89 & 96."

    I'm guessing this is because his sbbs.ini [Web] RootDirectory wasn't terminated with a slash.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Oct 6 19:11:46 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/b3492b803427dd5a202c1979
    Modified Files:
    exec/letsyncrypt.js
    Log Message:
    Recycle all servers/services after updating certificate

    Per Deon (ALTERANT) via DOVE-Net:

    Oct 7 09:47:16 d-11-1 synchronet: srvc 0060 BINKPS connection accepted from: 2402:1f00:8101:b3c:1000::2 port 55338
    Oct 7 09:47:16 d-11-1 synchronet: srvc 0060 BINKPS TLS ERROR 'Server certificate has expired' (-3) setting private key
    Oct 7 09:47:16 d-11-1 synchronet: srvc 0060 BINKPS TLS ERROR 'Data has not been initialised' (-11) setting session active

    Which was odd, because my cert was renewed.

    I forced renewed it, and confirmed it was valid, but they were still failing.

    I noticed that letsyncrypt only recycles the web, which is probably the issue. Once I recycled everything, binkps connections started working again.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jan 16 21:26:10 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/38ca791314996ea325edd0e7
    Modified Files:
    exec/letsyncrypt.js
    Log Message:
    Use main.ini instead of main.cnf for system password

    Fixes issue #471

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net