• Letsyncrypt Blehs

    From Mortifis@VERT/ALLEYCAT to All on Saturday, June 29, 2019 11:54:13
    I seem to have hosed my letsyncrpt, I have the timed event as shown on the wiki, my letsyncrpt.ini is:

    Host=acme-v02.api.letsencrypt.org
    Directory=/directory
    TOSAgreed=true

    [Domains]
    alleycat.synchro.net=/sbbs/etrucker
    [key_id]
    acme-v02.api.letsencrypt.org=https://acme- v02.api.letsencrypt.org/acme/acct/51915535

    I grabbed the most recent letsyncrpt.js which is revision 1.34 file size 12kb and ran jsexec letsyncrypt.js --force with this error:

    JSexec v3.17c-Win32 (rev 1.204) - Execute Synchronet JavaScript Module
    Compiled Jun 10 2019 05:03:30 with MSC 1800

    Loading configuration files from C:\sbbs\ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from C:\sbbs\exec\letsyncrypt.js
    C:\sbbs\exec\letsyncrypt.js compiled in 0.00 seconds
    Getting directory.
    Calling newOrder.
    Location: https://acme-v02.api.letsencrypt.org/acme/order/51915535/637869160 Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Getting authorization.
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Creating /sbbs/etrucker\.well-known/acme-challenge/7W-kHpWl4H07T- TfUYADaRleMihvz
    dLnp4GcdggVU_w
    Accepting challenge.
    Location: https://acme- v02.api.letsencrypt.org/acme/challenge/QvEEoYfLAorfyd_jSA lX4SqfV_18kisuzGsEl6f4epk/17659615010
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Link: <https://acme- v02.api.letsencrypt.org/acme/authz/QvEEoYfLAorfyd_jSAlX4SqfV _18kisuzGsEl6f4epk>;rel="up"
    Polling authorization.
    !JavaScript : uncaught exception: Unable to read status C:\sbbs\exec\letsyncrypt.js executed in 2.86 seconds
    !Module (letsyncrypt.js) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    The SBBSCTRL Events Pane shows:

    6/29 11:37:52a Running timed event: SYNCRYPT
    6/29 11:37:55a SYNCRYPT !JavaScript : uncaught exception: Authorization failed... https://acme- v02.api.letsencrypt.org/acme/authz/DaF_pfj4T0OX9SvbFhoWMIKBOHoLp1YqjlLuHBZRAIU 6/29 11:37:55a Timed event: SYNCRYPT returned 0

    Any ideas?





    When life gets tough, drop a gear and disappear!

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From mark lewis@VERT to Mortifis on Saturday, June 29, 2019 14:45:54
    On 2019 Jun 29 11:54:12, you wrote to All:

    I seem to have hosed my letsyncrpt, I have the timed event as shown on the wiki, my letsyncrpt.ini is:

    [trim]

    Any ideas?

    you have the new cryptlib library from CVS, right? the problem seems to have started there but i don't know that for sure... we need to get Duece involved to find out what's going on since he's the support guy for that lib in sbbs...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... C:\DOS\SYSTEM\OS2\UTILITIES\DOCS\HELP\WHERE\THE\F$#%\AM\I???
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mortifis on Saturday, June 29, 2019 12:35:38
    Re: Letsyncrypt Blehs
    By: Mortifis to All on Sat Jun 29 2019 11:54 am

    I seem to have hosed my letsyncrpt, I have the timed event as shown on the wiki, my letsyncrpt.ini is:

    Host=acme-v02.api.letsencrypt.org
    Directory=/directory
    TOSAgreed=true

    [Domains]
    alleycat.synchro.net=/sbbs/etrucker
    [key_id]
    acme-v02.api.letsencrypt.org=https://acme- v02.api.letsencrypt.org/acme/acct/51915535

    I grabbed the most recent letsyncrpt.js which is revision 1.34 file size 12kb and ran jsexec letsyncrypt.js --force with this error:

    JSexec v3.17c-Win32 (rev 1.204) - Execute Synchronet JavaScript Module Compiled Jun 10 2019 05:03:30 with MSC 1800

    Loading configuration files from C:\sbbs\ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from C:\sbbs\exec\letsyncrypt.js
    C:\sbbs\exec\letsyncrypt.js compiled in 0.00 seconds
    Getting directory.
    Calling newOrder.
    Location: https://acme-v02.api.letsencrypt.org/acme/order/51915535/637869160 Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Getting authorization.
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Creating /sbbs/etrucker\.well-known/acme-challenge/7W-kHpWl4H07T- TfUYADaRleMihvz
    dLnp4GcdggVU_w
    Accepting challenge.
    Location: https://acme- v02.api.letsencrypt.org/acme/challenge/QvEEoYfLAorfyd_jSA lX4SqfV_18kisuzGsEl6f4epk/17659615010
    Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    Link: <https://acme- v02.api.letsencrypt.org/acme/authz/QvEEoYfLAorfyd_jSAlX4SqfV _18kisuzGsEl6f4epk>;rel="up"
    Polling authorization.
    !JavaScript : uncaught exception: Unable to read status

    That's an http error. Does this happen every time?

    C:\sbbs\exec\letsyncrypt.js executed in 2.86 seconds
    !Module (letsyncrypt.js) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    The SBBSCTRL Events Pane shows:

    6/29 11:37:52a Running timed event: SYNCRYPT
    6/29 11:37:55a SYNCRYPT !JavaScript : uncaught exception: Authorization failed... https://acme- v02.api.letsencrypt.org/acme/authz/DaF_pfj4T0OX9SvbF hoWMIKBOHoLp1YqjlLuHBZRAIU 6/29 11:37:55a Timed event: SYNCRYPT returned 0

    Any ideas?

    None immediately come to mind. Try again?

    digital man

    Synchronet "Real Fact" #39:
    Synchronet first supported Windows NT v6.x (a.k.a. Vista/Win7) w/v3.14a (2006). Norco, CA WX: 85.5øF, 31.0% humidity, 5 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/ALLEYCAT to Digital Man on Sunday, June 30, 2019 11:00:01
    Re: Letsyncrypt Blehs
    By: Mortifis to All on Sat Jun 29 2019 11:54 am

    I seem to have hosed my letsyncrpt, I have the timed event as shown on the wiki, my letsyncrpt.ini is:

    Host=acme-v02.api.letsencrypt.org
    Directory=/directory
    TOSAgreed=true

    [Domains]
    alleycat.synchro.net=/sbbs/etrucker
    [key_id]
    acme-v02.api.letsencrypt.org=https://acme- v02.api.letsencrypt.org/acme/acct/51915535

    I grabbed the most recent letsyncrpt.js which is revision 1.34 file size 12kb and ran jsexec letsyncrypt.js --force with this error:


    That's an http error. Does this happen every time?

    I deleted the /sbbs/ctrl/letsyncrpt.key and ran jsexec letsyncrypt.js --force again ... this time it responded with:
    {
    "type": "urn:ietf:params:acme:error:malformed",
    "detail": "JWS verification error",
    "status": 400
    }

    :-/
    JWS verification error malformed status 400 :-/


    When life gets tough, drop a gear and disappear!

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Digital Man@VERT to Mortifis on Sunday, June 30, 2019 12:05:47
    Re: Re: Letsyncrypt Blehs
    By: Mortifis to Digital Man on Sun Jun 30 2019 11:00 am

    Re: Letsyncrypt Blehs
    By: Mortifis to All on Sat Jun 29 2019 11:54 am

    I seem to have hosed my letsyncrpt, I have the timed event as shown on the wiki, my letsyncrpt.ini is:

    Host=acme-v02.api.letsencrypt.org
    Directory=/directory
    TOSAgreed=true

    [Domains]
    alleycat.synchro.net=/sbbs/etrucker
    [key_id]
    acme-v02.api.letsencrypt.org=https://acme- v02.api.letsencrypt.org/acme/acct/51915535

    I grabbed the most recent letsyncrpt.js which is revision 1.34 file size 12kb and ran jsexec letsyncrypt.js --force with this error:


    That's an http error. Does this happen every time?

    I deleted the /sbbs/ctrl/letsyncrpt.key and ran jsexec letsyncrypt.js --force again ... this time it responded with:
    {
    "type": "urn:ietf:params:acme:error:malformed",
    "detail": "JWS verification error",
    "status": 400
    }

    :-/
    JWS verification error malformed status 400 :-/

    Did you make sure all your other *.js files were up-to-date?

    digital man

    Synchronet/BBS Terminology Definition #28:
    FREQ = File Request
    Norco, CA WX: 86.4øF, 24.0% humidity, 9 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/ALLEYCAT to Digital Man on Monday, July 01, 2019 08:39:02
    Re: Re: Letsyncrypt Blehs
    By: Mortifis to Digital Man on Sun Jun 30 2019 11:00 am

    Re: Letsyncrypt Blehs
    By: Mortifis to All on Sat Jun 29 2019 11:54 am

    I seem to have hosed my letsyncrpt, I have the timed event as shown

    :-/
    JWS verification error malformed status 400 :-/

    Did you make sure all your other *.js files were up-to-date?

    digital man


    Yes, I unzipped sbbsexec.zip into /sbbs/exec and ran jsexec update



    When life gets tough, drop a gear and disappear!

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Mortifis@VERT/ALLEYCAT to Digital Man on Monday, July 01, 2019 10:06:36
    Re: Re: Letsyncrypt Blehs
    By: Mortifis to Digital Man on Sun Jun 30 2019 11:00 am

    Re: Letsyncrypt Blehs
    By: Mortifis to All on Sat Jun 29 2019 11:54 am

    I seem to have hosed my letsyncrpt, I have the timed event as shown on the wiki, my letsyncrpt.ini is:


    JWS verification error malformed status 400 :-/

    Did you make sure all your other *.js files were up-to-date?

    digital man


    Just did another dev update, grabbed sbbs-dev.zip sbbsexec.zip unzipped those in /sbbs/exec. Deleted the letsyncrypt.key and ssl.cert, ran jsexec update and jsexec letsyncrypt.js --force ... overwrote /sbbs/ctrl/text.dat and fired up sbbsctrl ... somehow there is no letsyncrypt.key file anywhere but ssl.cert was recreated. The SYNCRYPT timed even returns 0 ... running jsexec letsyncrypt --force basically has no output

    I am not sure why it stopped working but updating didn't seem to help.



    When life gets tough, drop a gear and disappear!

    ---
    þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Digital Man@VERT to Mortifis on Monday, July 01, 2019 14:53:05
    Re: Re: Letsyncrypt Blehs
    By: Mortifis to Digital Man on Mon Jul 01 2019 08:39 am

    Re: Re: Letsyncrypt Blehs
    By: Mortifis to Digital Man on Sun Jun 30 2019 11:00 am

    Re: Letsyncrypt Blehs
    By: Mortifis to All on Sat Jun 29 2019 11:54 am

    I seem to have hosed my letsyncrpt, I have the timed event as shown

    :-/
    JWS verification error malformed status 400 :-/

    Did you make sure all your other *.js files were up-to-date?

    Yes, I unzipped sbbsexec.zip into /sbbs/exec and ran jsexec update

    Deuce is the author of that letsyncrypt module and you can find him in #synchronet on irc.synchro.net.

    digital man

    Synchronet/BBS Terminology Definition #68:
    SSL = Secure Sockets Layer (precursor to TLS)
    Norco, CA WX: 86.6øF, 35.0% humidity, 12 mph ESE wind, 0.00 inches rain/24hrs

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