• Letsyncrypt gives a error

    From M1ch43l@VERT/ALCABBS to All on Friday, May 10, 2019 09:59:35
    Hi All,

    When i try to run letssyncrypt.js i get the following error:


    Reading script from C:\sbbs\exec\letsyncrypt.js
    C:\sbbs\exec\letsyncrypt.js compiled in 0.00 seconds
    Getting directory.
    Getting directory.
    !JavaScript : uncaught exception: Unable to connect to acme-v02.api.letsencrypt.
    orgc:0
    C:\sbbs\exec\letsyncrypt.js executed in 0.31 seconds
    !Module (letsyncrypt.js) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    I can connect to the acme page however. So then i thought: Maybe i can put my wildcard certificate on my webserver, but where are the certificate files located for the webserver?

    Greetingz,

    M1ch43l

    ---
    þ Synchronet þ AlcaBBS - bbs.alcatrash.org
  • From Mortifis@VERT/ALLEYCAT to M1ch43l on Friday, May 10, 2019 06:58:06
    Hi All,

    When i try to run letssyncrypt.js i get the following error:


    Reading script from C:\sbbs\exec\letsyncrypt.js
    C:\sbbs\exec\letsyncrypt.js compiled in 0.00 seconds
    Getting directory.
    Getting directory.
    !JavaScript : uncaught exception: Unable to connect to acme-v02.api.letsencrypt.
    orgc:0
    C:\sbbs\exec\letsyncrypt.js executed in 0.31 seconds
    !Module (letsyncrypt.js) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    Did you add your domain name to ctrl/letsencrypt.ini?

    http://wiki.synchro.net/module:letsyncrypt



    The Granny Lane, where seasoned drivers slow down and smell the blacktop roses

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From M1ch43l@VERT/ALCABBS to Mortifis on Friday, May 10, 2019 12:43:46
    Re: Re: Letsyncrypt gives a error
    By: Mortifis to M1ch43l on Fri May 10 2019 08:58:06

    Hi Mortifis,

    Hi All,

    When i try to run letssyncrypt.js i get the following error:


    Reading script from C:\sbbs\exec\letsyncrypt.js
    C:\sbbs\exec\letsyncrypt.js compiled in 0.00 seconds
    Getting directory.
    Getting directory.
    !JavaScript : uncaught exception: Unable to connect to
    acme-v02.api.letsencrypt.
    orgc:0
    C:\sbbs\exec\letsyncrypt.js executed in 0.31 seconds
    !Module (letsyncrypt.js) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    Did you add your domain name to ctrl/letsencrypt.ini?

    http://wiki.synchro.net/module:letsyncrypt

    That seems to be working now!

    First i only tried the Directory= Statement but that didnt work. Now i created the [Domains] section and it is working now.

    Greetingz,

    M1ch43l

    M1ch43l

    ---
    þ Synchronet þ AlcaBBS - bbs.alcatrash.org
  • From Android8675@VERT/SHODAN to M1ch43l on Wednesday, May 15, 2019 06:19:17
    Re: Re: Letsyncrypt gives a error
    By: M1ch43l to Mortifis on Fri May 10 2019 02:43 pm

    First i only tried the Directory= Statement but that didnt work. Now i created the [Domains] section and it is working now.

    Could you email or post your .ini entries. I've never gotten letsyncrypt working, I stopped trying, should really get it going properly since Google is being such a bitch about having your site ssl encrypted.

    -a.
    --
    Android8675@ShodansCore

    ---
    þ Synchronet þ Shodan's Core @ ShodansCore.com
  • From mark lewis@VERT to Android8675 on Wednesday, May 15, 2019 11:00:56
    On 2019 May 15 08:19:16, you wrote to M1ch43l:

    First i only tried the Directory= Statement but that didnt work. Now
    i created the [Domains] section and it is working now.

    Could you email or post your .ini entries. I've never gotten
    letsyncrypt working, I stopped trying, should really get it going
    properly since Google is being such a bitch about having your site ssl encrypted.

    for a plain single site, you start with only one line... when the script runs, it fills in the rest... that one line is

    TOSAgreed=true

    and nothing else... the [keyid] and [state] keys will be added and filled in automatically...

    when i did it, i set up the event and the ini file as above... then i triggered
    the event via

    touch /sbbs/data/syncrypt.now

    and let it go... it was quite simple once i backed out to the basics... i have not done a multi-site certificate, though... only my one for sestar.synchro.net...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... I'll never forget what's-his-name.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thumper@VERT/THEWASTE to Mortifis on Friday, May 17, 2019 08:17:00
    I'm trying to set this up in my Linux SBBS setup and can't find the letsyncrypt.ini file..... Am I missing something?


    -=Thumper=-
    Sysop
    The Wastelands BBS

    ---
    þ Synchronet þ -=The Wastelands BBS=- -=Since 1990=-
  • From mark lewis@VERT to Thumper on Friday, May 17, 2019 12:43:06
    On 2019 May 17 10:17:00, you wrote to Mortifis:

    I'm trying to set this up in my Linux SBBS setup and can't find the letsyncrypt.ini file..... Am I missing something?

    it'll be in /sbbs/ctrl... you mnay have to create the file manually with only

    TOSAGREED=true

    in it... then you create the event as shown in the wiki... lastly you trigger that SYNCRYPT event...

    touch /sbbs/data/syncrypt.now

    it should complete and the ini file will be updated with five more lines... after that, it should be in operation...

    http://wiki.synchro.net/module:letsyncrypt

    ignore the multiple domain part for now... just create the file with the above one line in it and trigger the event and you should be good to go...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Integrated Circuit (n): a device used to protect fuses.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thumper@VERT/THEWASTE to mark lewis on Friday, May 17, 2019 11:38:15
    it'll be in /sbbs/ctrl... you mnay have to create the file manually with only

    TOSAGREED=true

    in it... then you create the event as shown in the wiki... lastly you trigger that SYNCRYPT event...

    touch /sbbs/data/syncrypt.now

    it should complete and the ini file will be updated with five more lines... after that, it should be in operation...

    http://wiki.synchro.net/module:letsyncrypt

    ignore the multiple domain part for now... just create the file with the above one line in it and trigger the event and you >should be good to go...

    I'll give it a try and see how it goes!

    Thanks,

    -=Thumper=-
    Sysop
    The Wastelands BBS

    ---
    þ Synchronet þ -=The Wastelands BBS=- -=Since 1990=-
  • From Thumper@VERT/THEWASTE to mark lewis on Friday, May 17, 2019 13:16:23
    I ran the script manually and ended up with this error:

    Reading script from /home/sbbs/sbbs/exec/letsyncrypt.js /home/sbbs/sbbs/exec/letsyncrypt.js compiled in 0.00 seconds
    Getting directory.
    Calling newOrder.
    Location: https://acme-v02.api.letsencrypt.org/acme/order/57311993/456678827 Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Getting authorization.
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Accepting challenge.
    Location: https://acme-v02.api.letsencrypt.org/acme/challenge/FyiIrgIvk5pR58yCD 3aR-7iByL3w_DBf6LGpxz2fark/15981264753
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Link: <https://acme-v02.api.letsencrypt.org/acme/authz/FyiIrgIvk5pR58yCD3aR-7iB yL3w_DBf6LGpxz2fark>;rel="up"
    Polling authorization.
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Polling authorization.
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index" {"type":"dns -01","status":"invalid","url":"https://acme-v02.api.letsencrypt.org/acme/challe nge/FyiIrgIvk5pR58yCD3aR-7iByL3w_DBf6LGpxz2fark/15981264751","token":"WQOMdSTny zREIudlT0xn_NIh55jQdGcrraTzI0uQOJo"}
    !JavaScript : uncaught exception: Authorization failed... https://acme-v02.api. letsencrypt.org/acme/authz/FyiIrgIvk5pR58yCD3aR-7iByL3w_DBf6LGpxz2fark /home/sbbs/sbbs/exec/letsyncrypt.js executed in 5.90 seconds
    !Module (letsyncrypt.js) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    -=Thumper=-
    Sysop
    The Wastelands BBS

    ---
    þ Synchronet þ -=The Wastelands BBS=- -=Since 1990=-
  • From mark lewis@VERT to Thumper on Friday, May 17, 2019 17:21:46
    On 2019 May 17 15:16:22, you wrote to me:

    I ran the script manually and ended up with this error:

    i don't know anything about that... that's why i triggered the event in the BBS
    and let it run... DM or deuce will have to help decode that and figure out why it failed... i had several failures until i created that one line ini file and had the BBS execute the event...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Zucchini is not edible. Shouldn't be considered food.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Thumper on Sunday, May 19, 2019 19:51:41
    Re: Re: Letsyncrypt gives a error
    By: Thumper to Mortifis on Fri May 17 2019 10:17 am

    I'm trying to set this up in my Linux SBBS setup and can't find the letsyncrypt.ini file..... Am I missing something?

    You have to create the file with a text editor.

    digital man

    This Is Spinal Tap quote #18:
    Sustain, listen to it. Don't hear anything. You would though were it playing. Norco, CA WX: 52.9øF, 88.0% humidity, 1 mph E wind, 0.12 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Android8675@VERT/SHODAN to mark lewis on Tuesday, May 21, 2019 08:58:44
    Re: Letsyncrypt gives a error
    By: mark lewis to Android8675 on Wed May 15 2019 01:00 pm

    for a plain single site, you start with only one line... when the script runs, it fills in the rest... that one line is

    TOSAgreed=true


    Thanks, I'll give that a shot.

    -A.
    --
    Android8675@ShodansCore

    ---
    þ Synchronet þ Shodan's Core @ ShodansCore.com